Disabling re-sizing of the window

Hi ~
I'm just finishing off my application, and as it is very small and compact I want to disable the re-sizing of it. I there a Window Style? I couldn't find one. Or is there a piece of code for the WM_SIZE event? Please help.
Thanks;
~ Christopher Howarth
[298 byte] By [chrishowarth] at [2007-11-20 8:14:28]
# 1 Re: Disabling re-sizing of the window
There are a couple of ways. First, don't use the "resizing" border on your app (I forget which WM style that is). The second way is to capture the WM_MINMAXINFO (http://msdn2.microsoft.com/en-us/library/ms632626.aspx) message, setting the min and max sizes to the size of your app (making min and max the same).

Viggy
MrViggy at 2007-11-9 13:30:14 >
# 2 Re: Disabling re-sizing of the window
Ok thanks. I stopped using the WS_THICKFRAME style.
chrishowarth at 2007-11-9 13:31:13 >
# 3 Re: Disabling re-sizing of the window
That's the one! :)

Viggy
MrViggy at 2007-11-9 13:32:22 >