MENUBUTTONDATA

[This is preliminary documentation and subject to change.]

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

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

typedef MENUBUTTONDATA* LPMENUBUTTONDATA;

Members

idCommand
Specifies a user-supplied value that uniquely identifies the menu button.
x
Specifies the horizontal position in pixels of the position at which the snap-in's context menu is to be displayed.
y
Specifies the vertical position in pixels of the position at which the snap-in's context menu is to be displayed.

See Also

IMenuButton, MMCN_MENU_BTNCLICK