Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I make a control respond to a change in screen resolution?

You should override the WndProc method in the control and process the WM_DISPLAYCHANGE message. You could also do this at the form level. For details on overriding the WndProc method, see How do I process Windows messages in a control? in this FAQ.

Contributed from George Shepherd's Windows Forms FAQ