Jump to content
  • Advertisement


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



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

How do I attach a toolbar right under my menu from a resource? I looked at my API reference and found a couple function, but some of the parameters I saw were inapplicable to the situation, I think. So if someone could help, that''d be great. Thanks. -AJ

Share this post

Link to post
Share on other sites

WS_CHILD|CCS_ADJUSTABLE|other styles, x, y, w, h,
hwndParent, (HMENU)ID_TOOLBAR, hInstance, NULL );

If you apply the CCS_TOP style, the window will attach itself to the top of the parent window''s client area.

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!

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!