Compartilhar via


CHeaderCtrl::GetBitmapMargin

Retrieves the width of the margin of a bitmap in a header control.

int GetBitmapMargin( ) const;

Return Value

The width of the bitmap margin in pixels.

Remarks

This member function implements the behavior of the Win32 message HDM_GETBITMAPMARGIN, as described in the Windows SDK.

Example

int iMargin = m_myHeaderCtrl.GetBitmapMargin();

Requirements

Header: afxcmn.h

See Also

Reference

CHeaderCtrl Class

Hierarchy Chart

CHeaderCtrl::SetBitmapMargin

Other Resources

CHeaderCtrl Members