MENUBUTTONDATA structure (mmc.h)

The MENUBUTTONDATA structure contains values used to create buttons on a toolbar.

Syntax

typedef struct _MENUBUTTONDATA {
  int idCommand;
  int x;
  int y;
} MENUBUTTONDATA;

Members

idCommand

A value that specifies a user-supplied value that uniquely identifies the menu button.

x

A value that specifies the horizontal position, in pixels, at which the snap-in's context menu is displayed.

y

A value that specifies the vertical position, in pixels, at which the snap-in's context menu is displayed.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header mmc.h

See also

IMenuButton

MMCN_MENU_BTNCLICK