How to know if a window is visible?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
jerryfinuliar
Posts: 6
Joined: Tue Jan 19, 2010 6:03 am

How to know if a window is visible?

Post 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
User avatar
mol
Posts: 3825
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: How to know if a window is visible?

Post by mol »

try:

Code: Select all

i := GetFormIndex (  cWindowName )
IsWindowVisible( _HMG_SYSDATA [ 67  ] [i] )
User avatar
jerryfinuliar
Posts: 6
Joined: Tue Jan 19, 2010 6:03 am

Re: How to know if a window is visible?

Post by jerryfinuliar »

Thanks a lot Marek
Post Reply