共用方式為


CMFCToolBar::UpdateButton

Updates the state of the specified button.

void UpdateButton(
   int nIndex
);

Parameters

  • [in] nIndex
    Specifies the zero-based index of the button to update.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart