CButton.GetIconmethod
Retrieves a handle to the icon associated with the button.
Syntax
PRIVATE FUNCTION CButton.GetIcon (BYVAL hButton AS HWND) AS HANDLE
Return value
The return value is a handle to the icon, if any; otherwise, it is NULL.
Description
Retrieves a handle to the icon associated with the button.
Example
DIM hicon AS HICON = CButton.GetIcon(hButton)
Reference
- Include file
CButton.inc - Defined in AfxNova/CButton.inc:153
- Documented in Windows/WIndows Controls/CButton Class.md
- Topic: CButton Class