The IMenuHandle class is a wrapper for menu handles.
The implementation of this class differs from system to system. See system-related comments.
On X-Motif, the IMenuHandle class is the same as (is typedef'd to) the IWindowHandle class.
On PM, the IMenuHandle class is the same as (is typedef'd to) the IWindowHandle class.
OnWindows, the IMenuHandle class not an IWindowHandle but is a class for the Windows structure HMENU. Use IMenuHandle in system calls where the Win32 Programmer's Toolkit type HMENU is required.
You can construct objects of this class.
![]() |
public:
IMenuHandle(Value value = 0)
Constructs objects of this class from a menu handle (a value of type IMenuHandle::Value), which defaults to 0.
Windows | OS/2 | AIX |
Yes | No | No |
Use these members to obtain diagnostic information.
![]() |
public:
IString asDebugInfo() const
Returns the handle as a string containing diagnostic information.
Windows | OS/2 | AIX |
Yes | No | No |
![]() |
public:
IString asString() const
Returns the handle as a string of form nnnn.
Windows | OS/2 | AIX |
Yes | No | No |
![]() |
public:
unsigned long asUnsigned() const
Returns the handle value as an unsigned long value.
Windows | OS/2 | AIX |
Yes | No | No |
Type conversion operators convert objects of this class to a different type.
![]() |
public:
operator Value() const
Returns the handle as its operating system dependent type. Use this operator when you use the handle object as an argument to an operating system function.
Windows | OS/2 | AIX |
Yes | No | No |
![]() |
typedef void * Value
This type definition defines Value to be a void* on the Windows platforms.
Windows | OS/2 | AIX |
Yes | No | No |