CStatic.SetCursormethod
Associates a cursor with a static control.
Syntax
FUNCTION SetCursor (BYVAL hStatic AS HWND, BYVAL hCur AS HCURSOR) AS HCURSOR
Parameters
| Name | Description | |
|---|---|---|
hCur | Handle of the cursor to set. |
Description
Associates a cursor with a static control. The return value is a handle to the cursor previously associated with the static control.
Example
DIM hOldCur AS HCURSOR = CStatic.SetCursor(hStatic, hCur)
Reference
- Include file
CStatic.inc - Defined in AfxNova/CStatic.inc:173
- Documented in Windows/WIndows Controls/CStatic Class.md
- Topic: CStatic Class