Click to See Complete Forum and Search --> : Resizable windowlook but not resizable


Crazy D
February 14th, 2000, 09:29 AM
Maybe I lost my mind, but....
I want to create a window that looks like it's resizable (you know, with the thick border) but then, I don't want the user to be able to resize it (it's put into a main form using SetParent, and I use the resize event of the mainform to resize this child (fake child actually...), and it looks the coolest if the form has the thick frame as if it can be resized, but it shouldn't be able to be resized.
When I modify the style using WS_THICKFRAME it becomes resizable again...
Any ideas? (without subclassing)
Tnx!

Crazy D :-)
"One ring rules them all"

Crazy D
February 14th, 2000, 09:57 AM
woohoo found it.. hehe kinda overlooked it.. :-) it's WS_DLGFRAME that does the trick... :-)

Crazy D :-)
"One ring rules them all"