Form minimize and maximize button click events....

  • Thread starter Thread starter JDeats
  • Start date Start date
J

JDeats

Are there events I can trap on when the user clicks on the Form
maximize or minimize header bar "buttons".
 
JDeats said:
Are there events I can trap on when the user clicks on the Form
maximize or minimize header bar "buttons".

Handle the Resized event on the form, and then check if the WindowState
property of your form is equalto FormWindowState.Minimized or Maximized.
Then you'll know. :)

Rune
 
Back
Top