Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Window that wont resize?

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

Sure. You can specify in the CreateWindowEx function a window style that doesn''t have the sizing border and maximize box. Check MSDN (msdn.microsoft.com) for more about that function.

"Life is very short, and there''s no time for fussing and fighting my friend..."

Share this post

Link to post
Share on other sites
I have already checked that function on MSDN numerous times. None of those styles create a window will a non-sizable edge.

Share this post

Link to post
Share on other sites
there is a particular style flag you have to use.. search msdn for WS_
i looked it up for ya .. use WS_BORDER or if you want to add a sysmenu and title bar use WS_POPUPWINDOW..
WS_BORDER will give you a thin line border, which is essentially makes it un-resizable and WS_POPUPWINDOW is a combination of WS_BORDER,WS_SYSMENU and WS_POPUP
Get busy livin' or get busy dyin'... - Shawshank Redemption
Altered Vision

[edited by - syrillix on August 13, 2003 5:49:41 AM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!