Window that wont resize?
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..."
"Life is very short, and there''s no time for fussing and fighting my friend..."
I have already checked that function on MSDN numerous times. None of those styles create a window will a non-sizable edge.
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]
[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]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement