### IMenuHandle

  The IMenuHandle class is a wrapper for menu handles.

#### Portability Considerations

  The implementation of this class differs from system to system. See system-related comments.

#### AIX Considerations

  On X-Motif, the IMenuHandle class is the same as (is typedef'd to) the IWindowHandle class.

#### OS/2 Considerations

  On PM, the IMenuHandle class is the same as (is typedef'd to) the IWindowHandle class.

#### Windows Considerations

  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.

### IMenuHandle - Member Functions and Data by Group

### Constructors & Destructor

You can construct objects of this class.

IMenuHandle

      public:
      IMenuHandle(Value value = 0)

  Constructs objects of this class from a menu handle (a value of type IMenuHandle::Value), which defaults to 0.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | No | No

### Diagnostics

Use these members to obtain diagnostic information.

asDebugInfo

      public:
      IString asDebugInfo() const

  Returns the handle as a string containing diagnostic information.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | No | No

asString

      public:
      IString asString() const

  Returns the handle as a string of form nnnn.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | No | No

asUnsigned

      public:
      unsigned long asUnsigned() const

  Returns the handle value as an unsigned long value.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | No | No

### Type Conversions

Type conversion operators convert objects of this class to a different type.

operator Value

      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.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | No | No

### IMenuHandle - Type Definitions

Value

      typedef void * Value

  This type definition defines Value to be a void* on the Windows platforms.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | No | No

### IMenuHandle - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None