Archived

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

Window that wont resize?

This topic is 5236 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
there is a particular style flag you have to use.. search msdn for WS_
[edit]
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
[/edit]
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