Help Center

CHeader.GetBitmapMarginmethod

Gets the width of the margin (in pixels) of a bitmap in an existing header control.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION GetBitmapMargin (BYVAL hHeader AS HWND) AS LONG

Parameters

NameDescription
hHeaderThe handle of the 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.

Description

Gets the width of the margin (in pixels) of a bitmap in an existing header control.

Reference

  • Include file CHeader.inc
  • Defined in AfxNova/CHeader.inc:162
  • Documented in Windows/WIndows Controls/CHeader Class.md
  • Topic: CHeader Class