Page 1 of 1

How to know if a window is visible?

Posted: Fri Feb 26, 2010 8:55 am
by jerryfinuliar
Hi,

Look at this

define window xWin
....
....
NOSYSMEMU;
MODAL;

xWin.Show
// do long processing here
// if you try to move the window and you succeeded
xWin.Hide // will not work

Is there a function to know whether a window is visible?

TIA

Re: How to know if a window is visible?

Posted: Fri Feb 26, 2010 10:05 am
by mol
try:

Code: Select all

i := GetFormIndex (  cWindowName )
IsWindowVisible( _HMG_SYSDATA [ 67  ] [i] )

Re: How to know if a window is visible?

Posted: Fri Feb 26, 2010 12:37 pm
by jerryfinuliar
Thanks a lot Marek