0

I would like to give resize option for my custom dialog. I done this but i need to handle if he resize a width of that dialog at a same time need to resize height also. like WMSZ_BOTTOMRIGHT move.

I don't know how to done this please help me?

Advance Thanks bala

bala
  • 275
  • 2
  • 3
  • 13
  • Start with [my resizable dialog class](http://stackoverflow.com/questions/138040/how-to-create-a-resizable-cdialog-in-mfc) and modify the `OnGetMinMaxInfo` function. – Mark Ransom Oct 02 '13 at 17:25
  • I can't understand can you explain me ? – bala Oct 03 '13 at 02:26
  • The OnGetMinMaxInfo function determines the size that the dialog is allowed to have. Just take the difference between the new and original width and height, take whichever is larger, and use it to adjust the coordinates that are returned. – Mark Ransom Oct 03 '13 at 02:33
  • sorry can you give some code explanation ? – bala Oct 03 '13 at 03:01
  • @user The link Mark posted in his first comment contains fully functional code. – IInspectable Oct 03 '13 at 14:37

0 Answers0