Jump to content

MENUITEM: Difference between revisions

From EDM2
Created page with "Menu item. == Type == struct == C Declaration Method == typedef == Example Code == <pre> typedef struct _MENUITEM { SHORT iPosition; Position.: USHORT afStyle; Style.: USHORT afAttribute; Attribute.: USHORT id; Identity.: HWND hwndSubMenu; Submenu.: ULONG hItem; Item.: } MENUITEM; typedef MENUITEM * PMENUITEM ; </pre> Category:Data type"
 
(No difference)

Latest revision as of 19:03, 25 April 2025

Menu item.

Type

struct

C Declaration Method

typedef

Example Code

typedef struct _MENUITEM {
  SHORT      iPosition;    /*  Position. */
  USHORT     afStyle;      /*  Style. */
  USHORT     afAttribute;  /*  Attribute. */
  USHORT     id;           /*  Identity. */
  HWND       hwndSubMenu;  /*  Submenu. */
  ULONG      hItem;        /*  Item. */
} MENUITEM;

typedef   MENUITEM   * PMENUITEM ;