HDM_GETBITMAPMARGIN message

Gets the width of the bitmap margin for a header control. You can send this message explicitly or use the Header_GetBitmapMargin macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the width of the bitmap margin in pixels. If the bitmap margin was not previously specified, the default value of 3* GetSystemMetrics (SM_CXEDGE) is returned.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

HDM_SETBITMAPMARGIN