• 12
• 27
• 9
• 9
• 20

changing the window style...

This topic is 4806 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

It's been a long time since I last had to write a windows framework for my projects and I have forgotten some of the problems I solved in my old framework (which was lost due to a HD crash) such as changing the window style when switching from windowed mode to fullscreen mode. I used to use a couple of functions that would change the windows style without having to first kill the window and re creating it. They were standard win api functions, I just can't remember which ones... Anyone know what they are?

Share on other sites
i think it is SetWindowLong and GetWindowLong

SetWindowLong(hWnd, GWL_style, dwNewstyle);SetWindowLong(hWnd, GWL_EXstyle, dwNewExstyle);