Le 28 mars 07 à 01:16 Matin, tbuchler a écrit:

> How can I tell that a window is currently maximized (i.e. at some time
> in the past, Window.Maximize was called -- not FullScreen)?

A window can be maximized without the FullScreen property set to on.
If FullScreen is off, an user can still click on the zoom button and  
the window becomes maximized.

> I can't even see how to set a variable for this: I see an event for  
> when
> the window just became maximized and one for when the window just  
> became
> minimized, but no event for when the window just became windowed.

In RB2007, there's a Restore, a Minimize and a Maximize event.

Create a property (e.g IsMaximized As Boolean) and put:

IsMaximized=True
in the maximize event

and

IsMaximized=False
in the restore event and in the minimize event

Then, refer to that property.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to