共用方式為


CMFCColorMenuButton::SetColumnsNumber

Sets the number of columns to display in a color selection control (CMFCColorBar object).

void SetColumnsNumber(
   int nColumns 
);

Parameters

  • [in] nColumns
    The number of columns to display.

Requirements

Header: afxcolormenubutton.h

See Also

Reference

CMFCColorMenuButton Class

Hierarchy Chart