Changing window styles, using win32
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
-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. ~
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement