imagekitcontrolname.SetRectMouseCursorType(long Val)
* ImageKit10ALib refers to the ANSI version, ImageKit10Lib refers to the Unicode version.
Property Value
| Value | Explanation |
|---|---|
| 0 | Standard arrow (Default) |
| 1 | Standard arrow and small hourglass |
| 2 | Crosshair |
| 3 | Standard arrow and question mark |
| 4 | I-beam |
| 6 | (This is no longer a valid setting. Default cursor will be used) |
| 8 | Four-pointed arrow |
| 9 | Double-pointed arrow pointing northeast and southwest |
| 10 | Double-pointed arrow pointing north and south |
| 11 | Double-pointed arrow pointing northwest and southeast |
| 12 | Double-pointed arrow pointing west and east |
| 13 | Vertical arrow |
| 14 | Hourglass |
| 15 | Custom |
| 16 | Hidden |
| 17 | Image-editing toolbars default cursor |
It is also possible to use the following constants (ikCursorARROW = 0, ikCursorAPPSTARTING = 1, ikCursorCROSS = 2, ikCursorHELP = 3, ikCursorIBEAM = 4, ikCursorNO = 6, ikCursorSIZEALL = 8, ikCursorSIZENESW = 9, ikCursorSIZENS = 10, ikCursorSIZENWSE = 11, ikCursorSIZEWE = 12, ikCursorUPARROW = 13, ikCursorWAIT = 14, ikCursorCustom = 15, ikCursorNoShow = 16, ikCursorDefault = 17).
Explanation
The RectMouseCursorType property sets the shape of the mouse cursor when the mouse is dragged within the ImageKit Control. When this property is set to 15 (ikCursorCustom), a cursor file name must be set in the RectMouseCursorFile property.
Note: This property is different from the MouseCursorType property which sets the shape of the cursor within the ImageKit Control.
Setting this value
This value can be set at run-time.Retrieving this value
This value can be retrieved at run-time.