Methods' Details |
getWindowHandle
any |
getWindowHandle( |
[in] sequence< byte > |
ProcessId, |
| [in] short |
SystemType ); |
- Description
- returns a system-specific window handle.
- Returns
- a system-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: Returns a ptr to the NSView implementing the window.
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
::com::sun::star::lang::SystemDependent.
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.