Jump to content
  • Advertisement

Archived

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

Michael K

"Docking" toolbars without MFC's

This topic is 6929 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!

HTH,

-mordell

Share this post


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

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
www.spin-studios.com

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!