Archived

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

j0n3z

Win32 toolbar/rebar problems...

Recommended Posts

j0n3z    122
Hi, 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). I''m currently doing it like this... HMENU hMenu = LoadMenu(GetModuleHandle(NULL), MAKEINTRESOURCE(IDR_MAIN_MENU)); SetMenu(hToolbarWnd, hMenu); ... and SetMenu just fails. If anyone knows the problem then I would appreciate the help. Thanks.. Jon

Share this post


Link to post
Share on other sites