469,591 Members | 2,120 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,591 developers. It's quick & easy.

How to capture Maximize Event for Form Window

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
Nov 20 '05 #1
1 13160
* si***********@yahoo.com 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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Dave | last post: by
1 post views Thread by neeraj | last post: by
8 posts views Thread by Boki | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.