This property sets the shape of the cursor that is used inside the Pan Window.
imagekitcontrolname.GetPanWindow().SetMouseCursorType(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 | Slashed circle |
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 |
The following constants can be used: (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)
Explanation
The MouseCursorType property sets the shape of the cursor that is used inside the Pan Window.
When the MouseCursorType property is set to 15 (ikCursorCustom), a cursor file name must be set in the MouseCursorFile property.
The MouseCursorType property corresponds to the Display Control's PanWindowMouseCursorType property in earlier versions of the ImageKit.
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at runtime.