Re: MS/BCGSoft FeaturePack a one big [embarassing] hack and developer's nightmare?



Bogdan wrote:
Hi,

I've been trying to port an MFC app that I wrote few years ago to VS2008 FeaturePack. The idea was to give it a fresh look without spending a lot of time on development of custom UI controls. Since I was planning to update only menu bar, toolbars, and status bar(s) I thought I'd be done in a couple of days. What a mistake! I spend a whole week and I'm still not done. I find the pack practically undocumented. The on-line documentation is full of 'under construction' or simply limited to one-liners that in most of the cases are just copies of class/method/param names (most likely auto-generated).

One of the most frustrating things I have discovered was that after making any source changes and re-building my app I had to manually get rid of 'Workspace' key from the Registry. Otherwise FeaturePack panes would simply not appear or be displayed in unexpected ways. I can only imagine nightmares with deployment and/or updates.

The list of things that frustrated me is pretty long but the following are some examples:

1) You would assume that to create a toolbar without a gripper is as simple as making sure that CBRS_GRIPPER style is not set when the toolbar is created. Well, this is not the case. It appears, that you need to call SetPaneStyle() and clear CBRS_GRIPPER after the bar is created. Does this make any sense?

2) If you lock a toolbar while loading it (LoadToolbar()) the associated menu items will not show their corresponding images. Not sure what the logic is but I'll give MS/BCGSoft a benefit of a doubt because the docs state that '... locked toolbars use separate image lists...'. The docs further suggest that in order to find out what it really means you should see CMFCToolBar::LoadBitmaEx(), which in turn explains everything in one simple sentence: 'This topic is under construction'. Simply embarrassing!

.... and so on ...

In general, I think that addition of FeaturePack to VC makes it look sub-standard and unprofessional.

Lastly, it looks like not too many developers are using the pack (surprise, surprise!). I posted two questions to this group last week and had no response. I found it very unusual. I don't remember this happening to me in the past when I posted questions about 'classic' MFC.

Has anyone else been through a similar hell? Are there any good blogs/news groups that deal with the pack? Or, should I simply forget about it and get a commercial product. Is BCGSoft's library also that poorly documented and inconsistent with classic MFC?

Thanks,
Bogdan



Hi there,

I've been using this library since may, I believe, and I have had no problemos. They use the ribbon and some new controls. I even ported an old VC6 app with little struggle. But then again, this app is not visually complex. I was able to add the ribbon, though.

Regarding documentation... I would think that BCGSoft had some documentation and that they would be willing to share it with the community. As you've pointed out, however, the documentation is hilarious. I expect that it will improve in time. In the end, the Feature Pack was bought and has to be fully integrated into MFC. Perhaps we'll see something until VC++10 is out.

I haven't seen blogs or articles or books. New programmers are rarely interested in C++ anymore, so the docs will be going to C# and (*ugh*) VB. It will take time until some of us C++ers start generating quality articles, blogs, etc. (I only have one little article about the new CMFCListCtrl. Alas, it is in Spanish).

Anyway, good luck. I hope that MS will upgrade its documentation anytime soon.

Regards.
.



Relevant Pages

  • Re: newbie: Console apps - do they exist in the hand-held world ?
    ... Does it support MFC? ... > documentation or that the documentation is 2-3 versions ago and there's a ... > emulator to develop/test the app before downloading it onto the device, ... > that 'console apps' do as well as do not exist for CE devices, ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Help with text adventure
    ... You can also just write a console app with printf and getline, ... Is there a way to make a Win32 console application? ... Since you don't want or need MFC, ... windowing process of Windows, like it was behind any Windows program. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: GUI programming, MFC and C#
    ... iterations of a product called Windows that didn't take off until Windows ... VB presented millions of folks with a way to develop GUI ... Microsoft added visual designers to C++ through Visual Studio using MFC. ... Depending on the size of your app, you could go one of two ways or ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: WinMain
    ... moved to InitInstace in an MFC app. ... Note that I programmed in raw Win16/32 API for five years before I discovered MFC. ... The above had relevance the last time I looked at windows programming. ...
    (microsoft.public.vc.mfc)
  • Re: Ghost breakpoints
    ... and some MFC function was throwing a DEBUGCHK because it couldn't find ... still be able to debug your app but MFC won't choke as your app loads. ... the OCX dll you have is a debug version. ... Steve Kelley ...
    (microsoft.public.windowsce.embedded.vc)