How to capture Maximize Event for Form Window

  • Thread starter Thread starter simchajoy2000
  • Start date Start date
S

simchajoy2000

Hi,

I know how to find out what the window state of a vb.net form is
programmatically, but I want to be able to capture the event of
maximizing/minimizing a window when it happens. Is there any way to
do this?

Joy
 
* (e-mail address removed) scripsit:
I know how to find out what the window state of a vb.net form is
programmatically, but I want to be able to capture the event of
maximizing/minimizing a window when it happens. Is there any way to
do this?

Add a handler to the form's 'Resize' event and check its 'WindowState'
property.
 
Back
Top