HasPBVisualObject – PB Docs 126

IPB_Session interface:

HasPBVisualObject method

Description

Determines whether any PowerBuilder windows, visible or hidden,
are still in existence.

Syntax

Return Values

pbboolean. Returns true if
any PowerBuilder windows are still alive. If any windows that are not response
windows are still alive, the PowerBuilder application returns immediately
unless you manually add a message loop.

Examples

This example is similar to the example for RestartRequested,
but it includes a call to HasPBVisualObject that
opens a message loop if the return value is true:

Usage

RestartRequested and HasVisualPBObject are
used in the implementation of the IPB_VM RunApplication function.
You no longer need to use an external message loop to check for
Windows messages when you call the RunApplication function
as you did in versions of PBNI prior to PowerBuilder 10.5.

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x