restore from maximize

  • Thread starter Thread starter dragonslayer008
  • Start date Start date
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.
 
For me Form1_Resize is raised in both cases. Please show your source code.
 
Back
Top