• Advertisement


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

Win32 menu problems...

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

Hi there. I''m relatively new to C & win32 programming and I''m having a few problems.. I''m developing a DirectX camera motion project using win32. I have a rebar window to hold my toolbars, and I''m trying to put a menu into one of the toolbars (like IE or Windows Explorer). Although I''ve tried 101 methods, I''m currently doing it like this... HMENU hMenu = LoadMenu(GetModuleHandle(NULL), MAKEINTRESOURCE(IDR_MAIN_MENU)); SetMenu(hToolbarWnd, hMenu); ... and SetMenu just fails. (where hToolbarWnd is a valid toolbar handle) If anyone knows the problem then I would appreciate the help. Thanks.. Jon

Share this post

Link to post
Share on other sites

  • Advertisement