Windows Develop Bookmark and Share   
 index > Windows Forms General > delta X = delta Y Resize
 

delta X = delta Y Resize

I am working on VC++ .Net 2003 MDI application.
I want to limit the resize of a child form such that delta X = delta Y (say [200,400] to [300,600] ). I am resizing using the Size-Grip

I have set the FormWindowStyle to SizableToolWindow and SizeGripStyle to Auto

Is there a way to control the SizeGrip such that only diagonal change is allowed


TIA
NURBY Nerd  Tuesday, March 28, 2006 4:07 PM
use the forms resize event toforce control of the sizing
DMan1  Tuesday, March 28, 2006 6:04 PM

You can use google to search for other answers

Custom Search

More Threads

• UserControl steals focus????
• Incorrect display in PictureBox when using system.drawing tool
• prevent button border from thickening when clicked
• Help Button
• WinForm default size
• file or assembly name not found...
• Cut, Copy, Paste Buttons
• Form Close and Cancel Question
• language change
• Component One chart