WindowGetID

Syntax

OSWindowID = WindowGetID(Window)

Description

Retrieves the native operating system handle for the specified ProGUI window. On Windows, this is the HWND; on Linux, it's the pointer to the underlying GtkWindow.

Parameters

Window
The handle of the ProGUI window whose OS handle is to be retrieved.

Return Value

Returns the native OS window handle (an Integer) if the ProGUI window handle is valid. Returns 0 or #False on error.

Remarks

This function is primarily used for interoperability with native OS API calls or other libraries that require the OS window handle.

See Also

CreateWindow

Supported OS

Windows, Linux