CHeaderCtrl::SetBitmapMargin
Sets the width of the margin of a bitmap in a header control.
int SetBitmapMargin(
int nWidth
);
Parameters
- nWidth
Width, specified in pixels, of the margin that surrounds a bitmap within an existing header control.
Return Value
The width of the bitmap margin in pixels.
Remarks
This member function implements the behavior of the Win32 message HDM_SETBITMAPMARGIN, as described in the Windows SDK.
Example
int iOldMargin = m_myHeaderCtrl.SetBitmapMargin(15);
Requirements
Header: afxcmn.h