Help Center

CButton.GetBitmapmethod

Retrieves a handle to the bitmap associated with the button.

WindowsmethodCButton.incdocumented

Syntax

FUNCTION GetBitmap (BYVAL hButton AS HWND) AS HANDLE

Return value

The return value is a handle to the bitmap, if any; otherwise, it is NULL.

Description

Retrieves a handle to the bitmap associated with the button.

Example

DIM hBmp AS HBIRMAP = CButton.GetBitmap(hButton)

Reference

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