Old dog and new tricks

I need some quick advice. What I want is a pure MFC application with controls that are rendered with the look and feel of those used on forms.

I tried doing a form, but it ended up looking very unprofessional. I can get an application to "feel" the way I want using pure MFC, but then my app has that all gray VS1997 look to it.

Is there some way to use the forms controls without forms For example, I'd prefer to control windows directly w/o "anchor points", and I'd rather use dockable controls over the static feel of a form.

Am I missing the boat here Maybe I just don't "get it" yet. It took me a while to go from straight C to C++ and MFC - maybe I'm just resisting change again.

What I need someone to tell me is that forms are great and I could write something like the VS2005 IDE using forms if I only knew how, or forms will always limit me and I should stick to the 1997 look of MFC.

Of course what I'd really like to hear is the magic bit I set so that my MFC application would be rendered like a form application.

Thanks!



Answer this question

Old dog and new tricks

  • lgarcia

    Thanks, it looks like I have something new to consider. My last version of Visual Studio was 1997, so I have no idea what a manifest is (other than something that appears in a note during the build process).

    I will look into this. Thanks.

     

     


  • dc.khael

    What kind of Visual Studio are you using

    If you create a manifest that uses the Common Control Version 6.0 you get the look and feel of XP! It's not a feature bound to any forms library of .NET!

    http://www.codeproject.com/cpp/xpstylemfc.asp

  • Eli Gazit

    I was able to get the common controls to render in the new look using the manifest, but my menus and control bars are still in the Win98 look.

    Does anyone have a small (empty) MFC project that just brings up the default menus and control bar with the shaded blue WinXP look Is this even possible when using MFC Thanks.

     

     


  • Old dog and new tricks