hMenu Property (AMenu)

Returns a Windows menu handle to an object's menu.

Syntax

[ hMenu = ] Object.hMenu

The hMenu property syntax has the following parts:

 

Name

Type

Description

Object

AMenu

AMenu object

hMenu

Long

An integer specifying a Windows menu handle to an object's menu.

Example

The following statement retrieves the AMenu's menu handle:

lmnu1hMenu = mnu1.hMenu

Applies to

AMenu