: Sorry I wasn't clear enough.
: I want to define my window maximum size, different from system defined max size.
: For example: I have a 500*500 bitmap and I don't want to allow the window to be bigger than the bitmap but smaller.
:
Maybe WM_GETMINMAXINFO.