SETCURSOR Mnemonic - Select Mouse Cursor Shape (Special Window)
Syntax
'SETCURSOR'(curid)
'SETCURSOR'(path$)
Description
The 'SETCURSOR' mnemonic sets the shape of the mouse cursor. In Visual
PRO/5 2.x it can define a mouse cursor via a Windows-specific, system-defined
cursor ID or a cursor (.cur)
or animated cursor (.ani)
format file. For animated files, it calls the Windows SetCursor()and LoadCursorFromFile()
APIs. Prefixing and Data Server access cannot be used with cursors that
are stored on a disk.
|
Parameter |
Description |
|---|---|
|
curid |
Defines the cursor ID. |
|
path |
Defines the path to the cursor or animated cursor file. |
The curid parameter takes the following values:
Note:
Hover over the rows to preview each cursor style.
| Cursor ID | Style | Window-Specific Name |
|---|---|---|
| 32512 or 0 | Arrow | OCR_NORMAL |
| 32513 or 2 | Ibeam | OCR_IBEAM |
| 32514 or 3 | Wait | OCR_WAIT |
| 32515 or 1 | Crosshair | OCR_CROSSHAIR |
| 32516 | Up Arrow | OCR_UPARROW |
| 32642 | Size NWSE | OCR_SIZENWSE |
| 32643 | Size NESW | OCR_SIZENESW |
| 32644 | Size WE | OCR_SIZEWE |
| 32645 | Size NS | OCR_SIZENS |
| 32646 | Size All | OCR_SIZEALL |
| 32648 | No | OCR_NO |
| 32649 | Hand | OCR_HAND |
| 32650 | App Starting | OCR_APPSTARTING |
| 32651 | What's This? | OCR_WHATSTHIS |
Example
|