SftPrintPreview/OCX 1.0

SftPrintPreview.MouseIconH Property

Softel vdm, Inc.

Defines a custom mouse icon.

Syntax       

Get

VB.NET

Handle = object.MouseIconH  As OLE_HANDLE

VB

Handle = object.MouseIconH  As OLE_HANDLE

C#.NET

OLE_HANDLE Handle = object.MouseIconH;

VC++

OLE_HANDLE Handle = object->MouseIconH;
OLE_HANDLE Handle = object->GetMouseIconH();

C

HRESULT object->get_MouseIconH(OLE_HANDLE* Handle);

Delphi

Handle := object.MouseIconH  : OLE_HANDLE;

Put

VB.NET

object.MouseIconH = Handle  As OLE_HANDLE

VB

object.MouseIconH = Handle  As OLE_HANDLE

C#.NET

OLE_HANDLE object.MouseIconH = Handle;

VC++

OLE_HANDLE object->MouseIconH = Handle;
void object->PutMouseIconH(OLE_HANDLE Handle);

C

HRESULT object->put_MouseIconH(OLE_HANDLE Handle);

Delphi

object.MouseIconH := Handle  : OLE_HANDLE;

object

A SftPrintPreview object.

Handle

Defines a custom mouse icon.  This icon handle has to remain valid until the control no longer uses it.

Comments

The MouseIconH property defines a custom mouse icon.

The MouseIconH 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.

The MouseIcon and MouseIconH properties are synonyms, but accept different value types (Picture object reference or Windows bitmap handle).


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