Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptions.MousePointer Property

Defines the mouse pointer used.

Syntax

Get

VB.NETIcon = object.MousePointer As SftMousePointerConstants
VBIcon = object.MousePointer As SftMousePointerConstants
C#.NETSftMousePointerConstants Icon = object.MousePointer;
VC++enum SftMousePointerConstants Icon = object->MousePointer;
enum SftMousePointerConstants Icon = object->GetMousePointer();
CHRESULT object->get_MousePointer(enum SftMousePointerConstants* Icon);

Put

VB.NETobject.MousePointer = Icon As SftMousePointerConstants
VBobject.MousePointer = Icon As SftMousePointerConstants
C#.NETSftMousePointerConstants object.MousePointer = Icon;
VC++enum SftMousePointerConstants object->MousePointer = Icon;
void object->PutMousePointer(enum SftMousePointerConstants Icon);
CHRESULT object->put_MousePointer(enum SftMousePointerConstants Icon);

object

A SftOptions object.

Icon

Defines the mouse pointer used.

IconValueDescription
sftDefault0Default, Arrow
sftArrow1Arrow
sftCross2Cross (cross-hair pointer)
sftIBeam3I-Beam
sftIcon4Obsolete
sftSize5Size (four-pointed arrow pointing north, south, east, and west)
sftSizeNESW6Size NE SW (double arrow pointing northeast and southwest)
sftSizeNS7Size N S (double arrow pointing north and south)
sftSizeNWSE8Size NW SE (double arrow pointing northwest and southeast)
sftSizeWE9Size W E (double arrow pointing west and east)
sftUpArrow10Up Arrow
sftHourglass11Hourglass (wait)
sftNoDrop12No Drop
sftArrowHourglass13Arrow and hourglass
sftArrowQuestion14Arrow and question mark
sftSizeAll15Size all
sftCustom99Custom 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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.