Set cursor shape for control or window.
Dependencies
Win 1.22
Parameters
HCtrl | Control handle. |
Shape | Name of the system cursor to set or cursor handle or full cursor path (must have .ani or .cur extension). |
System Cursors
appstarting | Standard arrow and small hourglass. |
arrow | Standard arrow. |
cross | Crosshair. |
hand | Hand. |
help | Arrow and question mark. |
ibeam | I-beam. |
icon | Obsolete for applications marked version 4.0 or later. |
no | Slashed circle. |
size | Obsolete for applications marked version 4.0 or later. Use SIZEALL. |
sizeall | Four-pointed arrow pointing north, south, east, and west. |
sizenesw | Double-pointed arrow pointing northeast and southwest. |
sizens | Double-pointed arrow pointing north and south. |
sizenwse | Double-pointed arrow pointing northwest and southeast. |
sizewe | Double-pointed arrow pointing west and east. |
uparrow | Vertical arrow. |
wait | Hourglass. |
sizewe_big | Big double-pointed arrow pointing west and east. |
sizeall_big | Big four-pointed arrow pointing north, south, east, and west. |
sizen_big | Big arrow pointing north. |
sizes_big | Big arrow pointing south. |
sizew_big | Big arrow pointing west. |
sizee_big | Big arrow pointing east. |
sizenw_big | Big double-pointed arrow pointing north and west. |
sizene_big | Big double-pointed arrow pointing north and east. |
sizesw_big | Big double-pointed arrow pointing south and west. |
sizese_big | Big double-pointed arrow pointing south and east. |
Remarks
Setting the same cursor type on several controls uses the same cursor resource. Some controls may host child windows. In that case you should pass handle of the topmost child window it contains instead handle of the control itself (for instance RaGrid, SpreedSheat ...)
About