restore from maximize

D

dragonslayer008

When I maximize a form, it sends a resize event, which I handle.
However, when I click the restore box on the form's frame, it restores
the window dimensions (physically) but my resize code is not
executed. I can tell it is not being called because my resize code
calculates the center to display some output. What am I doing wrong?
It only fails to work when I "restore down" from maximize.
 
A

Alexander Vasilevsky

For me Form1_Resize is raised in both cases. Please show your source code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top