Technical Reference > Graphics Builder Automation Interface > Page Functions > PageActiveWindowHandle

PageActiveWindowHandle

Retrieves the window handle of the active page.

Syntax

PageActiveWindowHandle(WindowHandle)

WindowHandle:

The active window handle. The handle is NULL if there is no active window. In VB, this is the return value.

Return Value

The active window handle. The handle is NULL if there is no active window.

Note: For details on handling return and error values, see Error Handling.

Example

' Retrieves the window handle of the active page
MyVariable = GraphicsBuilder.PageActiveWindowHandle