SftBox/OCX 4.5

SftBox.MousePointer Property

Softel vdm, Inc.

Defines the mouse pointer used.

Syntax       

Get

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;
enum SftMousePointerConstants Icon = object->GetMousePointer();

C

HRESULT object->get_MousePointer(enum SftMousePointerConstants* Icon);

Delphi

Icon := object.MousePointer  : TOleEnum;

Put

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;
void object->PutMousePointer(enum SftMousePointerConstants Icon);

C

HRESULT object->put_MousePointer(enum SftMousePointerConstants Icon);

Delphi

object.MousePointer := Icon  : TOleEnum;

object

A SftBox 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 SftBox control.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com