Archived

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

Noods

Window that wont resize?

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_
[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