[GD-Windows] Changing window flags
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2001-11-06 10:46:01
|
My app can currently run in a window or fullscreen. When fullscreen I use WS_POPUP and TOPMOST, but when running windowed I use WS_OVERLAPPEDWINDOW. Currently when I toggle between windowed and fullscreen I'm not destroying and recreating the window, primarily because other components unrelated to graphics (DirectSound) would also need to be destroyed and recreated. But because my window styles are set at window creation time, things look funky when I go windowed->fullscreen (I have a bordered fullscreen window) or vice versa (borderless window). Is there a better way to fix this than just to destroy and recreate my window and all HWND dependent subsystems every time I change modes? Brian |