"Docking" toolbars without MFC's

Started by
1 comment, last by Michael K 24 years, 6 months ago

I don't believe that there is any style bit or function you can call to turn a normal toolbar into a floating/docking toolbar.

I stepped into some of the MFC code for the CFrameWnd and CToolBar. It seems that there is quite a bit of additional coding going on to support this behavior.

This is appears to be one of those times where MFC is not just a thin layer over some WIN32 functionality.

If this is not the case I, too, would like to hear how!

HTH,

-mordell

__________________________________________

Yeah, sure... we are laughing WITH you ...
Advertisement
Hi,

I was wondering if anyone knew how to create docking toolbars/menus without using MFC's, if possible, just Win32 API's.

Thanks.

Michael

No, there's no Win32 API that will make toolbars dockable.

It's always very entertaining for me to hear people bash MFC on the assumption that it's a useless layer of fat between app and Win32.

It usually only takes a couple of nasty Win32 API experiences to turn even the most die-hard MFC basher into an advocate.

Mason McCuskey
Spin Studios
www.spin-studios.com

Founder, Cuttlefish Industries
The Cuttlefish Engine lets anyone develop great games for iPad, iPhone, Android, WP7, the web, and more!

This topic is closed to new replies.

Advertisement