IAccelTblHandle

The IAccelTblHandle class is a wrapper for accelerator table handles. Accelerator tables are also referred to as shortcut tables. The classes IAcceleratorTable and IAccelerator describe accelerator tables.

AIX Considerations

This class does not correspond to an operating system type.

OS/2 Considerations

Use IAccelTblHandle in system calls where the OS/2 Programmer's Toolkit type HACCEL is required.

Windows Considerations

Use IAccelTblHandle in system calls where the Win32 Programmer's Toolkit type HACCEL is required.


IAccelTblHandle - Member Functions and Data by Group

Constructors & Destructor

You can construct objects of this class.


[view class]
IAccelTblHandle
public:
IAccelTblHandle(Value value = 0)

Constructs objects of this class from an accelerator table handle (a value of type IAccelTblHandle::Value), which defaults to 0.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Diagnostics

Use these members to obtain diagostic information.


[view class]
asDebugInfo
public:
IString asDebugInfo() const

Returns the handle as a string containing diagnostic information.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
asString
public:
IString asString() const

Returns the handle as a string of form nnnn.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
asUnsigned
public:
unsigned long asUnsigned() const

Returns the handle value as an unsigned long value.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Type Conversions

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


[view class]
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 Yes Yes


IAccelTblHandle - Type Definitions


[view class]
Value
typedef unsigned long Value

This type definition defines Value to be an unsigned long on the OS/2 platform. On all other platforms Value is defined to be a void*.

Variation 1
typedef unsigned long Value

Supported Platforms

Windows OS/2 AIX
No Yes No

Variation 2
typedef void * Value

Supported Platforms

Windows OS/2 AIX
Yes No No


IAccelTblHandle - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data