Jump to content
  • Advertisement

Archived

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

backstab

How to create toolbar-like child windows?

This topic is 5803 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

Child windows are always inactive and cannot go out from parent window''s client area, and owned windows are deactivate owner windows when clicked by user and got focus. But ToolBars in MFC can go anywhere and don''t deactivate parent window. How can I create child windows like those toolbars with API?

Share this post


Link to post
Share on other sites
Advertisement
I think you''re talking about a Rebar control...
A rebar control is a control that holds other controls (child windows) inside of it. Each child window is enclosed in a band that can be moved around inside the rebar control (IE uses a rebar control for the menu+toolbars). So you can basically create a rebar control, and add a new band to it that is actually the toolbar window. Check the SDK for more info on that.


Goblineye Entertainment
The road to success is always under construction

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!