HeaderPane
Main
Hide
Share Link
Print

MouseIcon Property, SftDate Object

Defines a custom mouse icon.

Syntax

Get

C#System.Drawing.Image refPictureObj = object.MouseIcon;
VB.NETrefPictureObj = object.MouseIcon As System.Drawing.Image
C++IPictureDisp* refPictureObj = object->GetMouseIcon();
CHRESULT object->get_MouseIcon(IPictureDisp** refPictureObj);

Put

C#void object.let_MouseIcon(System.Drawing.Image refPictureObj);
VB.NETobject.let_MouseIcon(ByVal refPictureObj As System.Drawing.Image)
C++void object->PutMouseIcon(IPictureDisp* refPictureObj);
CHRESULT object->put_MouseIcon(IPictureDisp* refPictureObj);

PutRef

C#System.Drawing.Image object.MouseIcon = refPictureObj;
VB.NETobject.MouseIcon = refPictureObj As System.Drawing.Image
C++void object->PutRefMouseIcon(IPictureDisp* refPictureObj);
CHRESULT object->putref_MouseIcon(IPictureDisp* refPictureObj);

object

A SftDate object.

refPictureObj

Defines a custom mouse icon. For information about picture properties, please visit the applicable section "Using SftDate/OCX with ...".

Comments

The MouseIcon property defines a custom mouse icon. p The MouseIcon property provides a custom icon that is used when the MousePointer property is set to sftCustom (99). This mouse pointer is displayed when the cursor is located anywhere on the control. p Using PutRef (see Syntax above) the control will use the reference to the Picture object. If the Picture object is later changed, this will also affect the image used by the control. Using Put instead causes the control to create a copy of the Picture object. Because of the additional overhead and the increased resource use of Put, PutRef is the preferred method.

See Also SftDate Object | Object Hierarchy


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.