다음을 통해 공유


CMFCToolBar::GetItemID

Returns the command ID of the toolbar button at a specified index.

UINT GetItemID(
   int nIndex 
) const;

Parameters

  • [in] nIndex
    Specifies the index of the toolbar button.

Return Value

The command ID of the toolbar button; or zero if the button with the specified index does not exist.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart