HDM_SETBITMAPMARGIN message

Sets the width of the margin, specified in pixels, of a bitmap in an existing header control. You can send this message explicitly or use the Header_SetBitmapMargin macro.

Parameters

wParam

The width, specified in pixels, of the margin that surrounds a bitmap within an existing header control.

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_GETBITMAPMARGIN