Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Michael K

"Docking" toolbars without MFC's

This topic is 7008 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!



Share this post

Link to post
Share on other sites

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



Share this post

Link to post
Share on other sites
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

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!