PDA

View Full Version : DIALOG SET MINSIZE (No MAXSIZE?)



marcuslee
22-03-2009, 02:11
The DIALOG SET MINSIZE will prevent the user from making the dialog smaller than a certain size. How do you prevent the user from making it bigger than a certain size?


Mark

Petr Schreiber
22-03-2009, 09:24
Hi Mark,

it could be done by processing WM_SIZE message.

But, now speaking as user, I really strongly dislike pograms which limit the maximum size of dialog.
For example Pinnacle Studio 8, video editing software, has limit of max size to 1024x768 or so, which makes it a pain to work with on screens with bigger resolution than the mentioned.

You can use CONTROL RESIZE commands to keep the layout looking nice.


Petr