Help Center

AfxGetBitmapWidthfunction

Retrieves the width of the specified bitmap.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetBitmapWidth (BYVAL hBitmap AS HBITMAP) AS LONG

Parameters

NameDescription
hBitmapHandle to the bitmap.

Return value

The width of the bitmap on success or 0 on failure.

Description

Retrieves the width of the specified bitmap.

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:3821
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures