Compartir a través de


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

Reference

CMFCColorBar Class

Hierarchy Chart

CMFCColorBar::GetVertMargin