IT_MENU 

Use

The IT_MENU structure describes a single menu item, describing its status and type, as well as its location in the menu.

 

Syntax

typedef struct IT_MENU_t {
char szName[MAX_MENU_NAME];
char info[MAX_MENU_NAME];
short flags;
int iVKValue;
int iValue;
HANDLE hMenu; // Internal handle
short cParent;
short cChild;
short cNext;
short cFlags;
} IT_MENU;
typedef IT_MENU *PIT_MENU;
#define IT_MENU_SIZE (sizeof(IT_MENU))

Members

szName

Name of menu item

info

info for menu item

flags

Flags for this key

iVKValue

Value in Windows Virtual-Key codes

iValue

SAP PFKEY value (0 to 99)

hMenu

Internal handle for menu

cParent

Index of parent menu

cChild

Index of child menu

cNext

Index of next peer menu

cFlags

Flags for this menu

CFlags Values

MN_POPUP

This menu is a popup menu.

MN_EXPANDED

This popup menu has been expanded.

MN_ACTIVE

The menu is active.

MN_POPUP_REQUESTED

This popup menu is currently being expanded.