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
 

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

Back
Top