Menu on fullscreen

Started by
2 comments, last by Barn Door 21 years, 7 months ago
Howdy, How does one keep a window''s main menu visible after switching to full screen? I know that this is possible because it occurs in Flight Sim 2002. Thanks, BD.
Advertisement
I don''t know if this is the "real" answer, but your window could still be windowed mode and you just make it the size of the desktop. If you used WS_POPUP style, it would not have a title bar or border, but you could still have your menu.
In CreateWindowEx you need: WS_OVERLAPPEDWINDOW | WS_VISIBLE instead of WS_POPUP | WS_VISBLE.
Hope it is what you need

Oh, and you need:
lpdds7->SetCooperativeLevel(hWnd, DDSCL_NORMAL);
hWnd = Handle to our window;
DDSCL_NORMAL tell window: this is a windowed mode application
I don''t know if it help you

This topic is closed to new replies.

Advertisement