interface XSystemDependentWindowPeer in module com::sun::star::awt::

(Global Index)

Syntax

interface XSystemDependentWindowPeer : com::sun::star::uno::XInterface ;

Description

provides access to the sytem dependent implementation of the window.

See also

SystemDependent

See also

WindowAttribute

See also

WindowAttribute::SYSTEMDEPENDENT

Method Summary

getWindowHandle

Method Details



getWindowHandle

Syntax

any getWindowHandle (
sequence< byte > ProcessId,
short SystemType );

Returns

a sytem-specific handle to a window or 0 if the window is not in the same process.

You must check the machine ID and the process ID.
WIN32: Returns an HWND if possible, otherwise 0.
WIN16: Returns an HWND if possible, otherwise 0.
JAVA: Returns a global reference to a java.awt.Component object provided from the JNI-API.
OS2: Returns an HWND if possible, otherwise 0.
MAC: Not supported
XWINDOW: Returns a structure SystemDependentXWindow or void if it is not reachable.

Parameter ProcessId

the process identifier. Use the sal_getGlobalProcessId function of the RTL library.

Parameter SystemType

one constant out of the constant group SystemDependent.
Top of Page