DeferWindowPos API used to Resize controls on a form

Category:
System/API
Type:
Applications
Difficulty:
Advanced
Author:
David Nishimoto

Version Compatibility:

More information:
This demo application uses the DeferWindowPos API function to resize picture boxes so their dimensions relative to the form don't change when the form is resized.

An article about this example is available on the author's web site.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download deferwindowpos.zip