Recommended Posts

ok, there are some things I need to know about writing applications. My first major one, is how do you stop a window from being resizeable? (btw. im using win32) and second, how do I make a window center in the middle of the screen (need to consider difft. screen sizes/resolutions) if anyone knows, i would greatly appreciate some help on this.
thanks, -whelzorn
[edited by - Whelzorn on February 27, 2004 3:20:12 PM]

Share this post

Link to post

Share on other sites

Thanks alot for responding!ok, Jansic, I used WS_SYSMENU. It worked perfectly!Nonpop, i diddnt know which styles had WS_THICKFRAME, but I guess WS_SYSMENU diddnt, because it worked, and your code example is being used (the top left corner is what the window location relies on, so it had to be divided by 3[edit not 4], not 2), and works fine. Thank you everyone who responded!