LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides access to the system dependent implementation of the window. More...
import"XSystemDependentMenuPeer.idl";
Public Member Functions | |
any | getMenuHandle ([in] sequence< byte > ProcessId, [in] short SystemType) |
returns a system-specific window handle. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
provides access to the system dependent implementation of the window.
any getMenuHandle | ( | [in] sequence< byte > | ProcessId, |
[in] short | SystemType | ||
) |
returns a system-specific window handle.
You must check the machine ID and the process ID.
WIN32: Returns an HMENU if possible, otherwise 0.
WIN16: Returns an HMENU if possible, otherwise 0.
ProcessId | the process identifier. Use the sal_getGlobalProcessId function of the RTL library. |
SystemType | one constant out of the constant group com::sun::star::lang::SystemDependent. |