Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Accessing child window properties without painting the window

0 views
Skip to first unread message

Skip Hudspeth

unread,
Jan 9, 1995, 11:05:25 PM1/9/95
to
Does anyone know how to access the properties of an MDI Child window
which is minimized without causing the window to be displayed unminimized?
My program has several child windows and I would like to check each child
window to see if it is minimized. However, when I use code such as
"If Child1.WindowState = 1", the child window is displayed in normal mode.
Thanks.

--
+----------------------------------------------+
| Skip Hudspeth jdhu...@unccsun.uncc.edu |
+----------------------------------------------+

Chuck Stuart

unread,
Jan 9, 1995, 7:24:45 AM1/9/95
to
In article <3et125$d...@news.uncc.edu> jdhu...@uncc.edu (Skip Hudspeth) writes:

>Does anyone know how to access the properties of an MDI Child window
>which is minimized without causing the window to be displayed unminimized?
>My program has several child windows and I would like to check each child
>window to see if it is minimized. However, when I use code such as
>"If Child1.WindowState = 1", the child window is displayed in normal mode.
>Thanks.

Hi Skip
Use the forms collection.
if forms(i).WindowState = 1 then

------------------------------------------------------------------------
Chuck Stuart
Mesquite TX USA
Contract Programmer.
Author of VBTrace, runtime VB Trace/Profile/XRef utility.
------------------------------------------------------------------------

0 new messages