Win32 menu problems...
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement