Can't make a menu go away when switch to fullscreen
Does anyone know how to load a menu so that when I switch to fullscreen, the menu goes away, but then when I switch back to windowed mode it comes back again?? I know it is kinda a dumb question, but I haven't built a program with the menu in a while.
[edited by - tylerbingham on December 18, 2002 10:40:35 PM]
lol, sorry but all i saw was "Can''t make a manu" which happens to be my bosses name. =X
Anyway, I haven''t tried this before but assuming you want the win32 way of doing it you could just use the HMENU LoadMenu(HINSTANCE,) function when switching to windowed and call DestroyMenu(HMENU) when you switch back. That should do the trick. Check out those functions in the MSDN for more info.
Anyway, I haven''t tried this before but assuming you want the win32 way of doing it you could just use the HMENU LoadMenu(HINSTANCE,
destroy the complete window and make a new one when switching to fullscreen...
i use to use WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_VISIBLE as window flags for fulllscreen and WS_CAPTION | WS_SIZEBOX | WS_VISIBLE | WS_SYSMENU for windowed mode...
attach the menu in case you''re in windowed mode...
GA
i use to use WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_VISIBLE as window flags for fulllscreen and WS_CAPTION | WS_SIZEBOX | WS_VISIBLE | WS_SYSMENU for windowed mode...
attach the menu in case you''re in windowed mode...
GA
Visit our homepage: www.rarebyte.de.stGA
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement