CMFCColorBar::SetVertMargin

Sets the vertical margin, which is the space between the top or bottom color cell and the client area boundary.

void SetVertMargin(
   int nVertMargin 
);

Parameters

  • [in] nVertMargin
    The vertical margin, in pixels.

Remarks

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

Requirements

Header: afxcolorbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCColorBar Class

CMFCColorBar::GetVertMargin