Compartilhar via


CMFCColorBar::SetCommandID

Sets a new command ID for a color bar control.

void SetCommandID(
   UINT nCommandID 
);

Parameters

  • [in] nCommandID
    A command ID.

Remarks

Call this method to modify the command ID of a color bar control and to notify the parent window of the control that the ID has changed.

Requirements

Header: afxcolorbar.h

See Also

Reference

CMFCColorBar Class

Hierarchy Chart