Advertisement

Win32 menu problems...

Started by July 21, 2000 05:18 PM
-1 comments, last by j0n3z 24 years, 5 months ago
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