Partager via


CMFCColorBar::SetHorzMargin

Sets the horizontal margin, which is the space between the left or right color cell and the boundary of the client area.

void SetHorzMargin(
   int nHorzMargin 
);

Parameters

  • [in] nHorzMargin
    The horizontal margin, in pixels.

Remarks

By default, the CMFCColorBar::CMFCColorBar constructor sets the horizontal margin to 4 pixels.

Requirements

Header: afxcolorbar.h

See Also

Reference

CMFCColorBar Class

Hierarchy Chart

CMFCColorBar::GetHorzMargin