Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostScreen Class > Methods

waitForUpdate Method

Scroll Prev Top Next More

 

Wait for the next host update. Return TRUE if an update occurred.

 

bool waitForUpdate();

bool waitForUpdate(int maxTime);

 

Arguments

 

HostScreen

 Required. HostScreen object.

 

MaxTime

 Optional. The maximum time to wait in milliseconds.

 

Remarks

 

If an update has already occurred since the last putCommand or waitForUpdate the method will return immediately.  A time of up to MaxTime milliseconds will be waited before the method will timeout.  If MaxTime is not entered a default of 20 seconds will be used, or the time last set in putCommand.

 

Returns FALSE for timeout, TRUE for update occurred.

 

Requirements

 

Inventu Viewer+

 

See Also

 

waitForCursor | waitForScreen | cursorCol | cursorRow | screenColSize | screenRowSize

 

Applies To: HostScreen object

 


© 2022 Inventu Corporation