Archived

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

j0n3z

Win32 menu problems...

Recommended Posts

j0n3z    122
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