LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XSystemDependentMenuPeer Interface Reference

provides access to the system dependent implementation of the window. More...

import"XSystemDependentMenuPeer.idl";

Inheritance diagram for XSystemDependentMenuPeer:
XInterface

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...
 

Detailed Description

provides access to the system dependent implementation of the window.

See also
com::sun::star::lang::SystemDependent
WindowAttribute
WindowAttribute::SYSTEMDEPENDENT

Member Function Documentation

◆ getMenuHandle()

any getMenuHandle ( [in] sequence< byte >  ProcessId,
[in] short  SystemType 
)

returns a system-specific window handle.

Returns
a system-specific handle to a menu or 0 if the menu is not in the same process.

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.

Parameters
ProcessIdthe process identifier. Use the sal_getGlobalProcessId function of the RTL library.
SystemTypeone constant out of the constant group com::sun::star::lang::SystemDependent.

The documentation for this interface was generated from the following file: