Header_GetBitmapMargin macro

Gets the width of the margin (in pixels) of a bitmap in an existing header control. You can use this macro or send the HDM_GETBITMAPMARGIN message explicitly.

Syntax


int Header_GetBitmapMargin(
  HWND hwnd
);

Parameters

hwnd

Type: HWND

A handle to a header control.

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 (CX_EDGE) is returned.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

Header_SetBitmapMargin

 

 

Community Additions

ADD
Show:
© 2014 Microsoft