Header_SetBitmapMargin macro (commctrl.h)

Sets the width of the margin for a bitmap in an existing header control. You can use this macro or send the HDM_SETBITMAPMARGIN message explicitly.

Syntax

void Header_SetBitmapMargin(
   hwnd,
   iWidth
);

Parameters

hwnd

Type: HWND

A handle to a header control.

iWidth

Type: int

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

Return value

None

Requirements

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

See also

Header_GetBitmapMargin