|
|
|
|
|
SftOptions.MousePointer Property |
Defines the mouse pointer used.
Syntax
|
VB.NET |
Icon = object.MousePointer As SftMousePointerConstants |
||
|
VB |
Icon = object.MousePointer As SftMousePointerConstants |
||
|
C#.NET |
SftMousePointerConstants Icon = object.MousePointer; |
||
|
VC++ |
enum SftMousePointerConstants Icon = object->MousePointer;
|
||
|
C |
HRESULT object->get_MousePointer(enum SftMousePointerConstants* Icon); |
||
|
Delphi |
Icon := object.MousePointer : TOleEnum; |
||
|
VB.NET |
object.MousePointer = Icon As SftMousePointerConstants |
||
|
VB |
object.MousePointer = Icon As SftMousePointerConstants |
||
|
C#.NET |
SftMousePointerConstants object.MousePointer = Icon; |
||
|
VC++ |
enum SftMousePointerConstants object->MousePointer = Icon;
|
||
|
C |
HRESULT object->put_MousePointer(enum SftMousePointerConstants Icon); |
||
|
Delphi |
object.MousePointer := Icon : TOleEnum; |
||
object
A SftOptions object.
Icon
Defines the mouse pointer used.
|
Icon |
Value |
Description |
|
sftDefault |
0 |
Default, Arrow |
sftArrow |
1 |
Arrow |
sftCross |
2 |
Cross (cross-hair pointer) |
sftIBeam |
3 |
I-Beam |
sftIcon |
4 |
Obsolete |
sftSize |
5 |
Size (four-pointed arrow pointing north, south, east, and west) |
sftSizeNESW |
6 |
Size NE SW (double arrow pointing northeast and southwest) |
sftSizeNS |
7 |
Size N S (double arrow pointing north and south) |
sftSizeNWSE |
8 |
Size NW SE (double arrow pointing northwest and southeast) |
sftSizeWE |
9 |
Size W E (double arrow pointing west and east) |
sftUpArrow |
10 |
Up Arrow |
sftHourglass |
11 |
Hourglass (wait) |
sftNoDrop |
12 |
No Drop |
sftArrowHourglass |
13 |
Arrow and hourglass |
sftArrowQuestion |
14 |
Arrow and question mark |
sftSizeAll |
15 |
Size all |
sftCustom |
99 |
Custom icon (specified by the MouseIcon property) |
Comments
The MousePointer property defines the mouse pointer used when the mouse cursor is over a SftOptions control.
Example (VB.NET)
AxSftOptions1.MousePointer = SftMousePointerConstants.sftCross
Example (VB)
SftOptions1.MousePointer = sftCross
Example (C#.NET)
axSftOptions1.MousePointer = SftMousePointerConstants.sftCross;
Example (VC++)
ISftOptionsPtr vOpts = m_Opts1.GetControlUnknown(); vOpts->MousePointer = sftCross;
Example (Delphi)
SftOptions1.MousePointer := sftCross;
See Also SftOptions Object | Object Hierarchy