The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: awt ::

unpublished interface XSystemDependentMenuPeer
Usage Restrictions
not published
Description
provides access to the system dependent implementation of the window.
See also
::com::sun::star::lang::SystemDependent, WindowAttribute, WindowAttribute::SYSTEMDEPENDENT

Methods' Summary
getMenuHandle returns a system-specific window handle.  
Methods' Details
getMenuHandle
any
getMenuHandle( [in] sequence< byte >  ProcessId,
[in] short  SystemType );

Description
returns a system-specific window handle.
Returns
a sytem-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.

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

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.