c#, resize dialog while maintaining aspect ratio by intercepting the WM_SIZING method in WndProc

/ Published in: C#
Save to your folder(s)

This resizes the whole form.
In the case of PictureBoxes, consider resizing the picture box by subclassing PictureBox.

URL: http://www.vcskicks.com/maintain-aspect-ratio.php

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.