Advertisement

Changing window styles, using win32

Started by February 04, 2000 01:10 PM
1 comment, last by voodoo 24 years, 10 months ago
I am using win32 to make my bassic window for my OpenGl app. I want to be able to switch from windowed to full screen modes and vise versa. Here are the steps I do. I Init my app by telling it to be either Full or Windowed, then for full screen I use createwindowex with ws_popup and for windowed I use ws_overlapped. This is ok. What I want to do is lets say I am in windowed and I press a key to switch to fullscreen I want the window to change from overlapped to popup so bassicly loose the title bar etc... and when I switch bak to restore the style. I know there is ModifyStyle function for MFC is there anything similar for win32?
Hardcore Until The End.
Both ModifyStyle and ModifyStyleEx are Win32API functions as well as MFC functions. Take a look at the CWindow:: form of both in your help files for function parameter information.

-fel
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
Advertisement
How come I dont half to specify which instance of the window I want to change, shouldn''t the function have a hwnd param somewhere i dont c it
Hardcore Until The End.

This topic is closed to new replies.

Advertisement