SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines a custom mouse icon.
Get
VB.NET | Handle = object.MouseIconH As Integer |
VB | Handle = object.MouseIconH As OLE_HANDLE |
C#.NET | int Handle = object.MouseIconH; |
VC++ | OLE_HANDLE Handle = object->MouseIconH; OLE_HANDLE Handle = object->GetMouseIconH(); |
C | HRESULT object->get_MouseIconH(OLE_HANDLE* Handle); |
Put
VB.NET | object.MouseIconH = Handle As Integer |
VB | object.MouseIconH = Handle As OLE_HANDLE |
C#.NET | int object.MouseIconH = Handle; |
VC++ | OLE_HANDLE object->MouseIconH = Handle; void object->PutMouseIconH(OLE_HANDLE Handle); |
C | HRESULT object->put_MouseIconH(OLE_HANDLE Handle); |
object
Handle
An icon handle. Defines a custom mouse icon. This icon handle has to remain valid until the tree control no longer uses it.
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 icon handle).
Even though the class wrapper generated by Visual Studio for .NET applications (C#, VB.NET) includes the MouseIcon property, it is not usable as the System.Drawing.Image type does not support icons. For managed .NET applications the MouseIconH property must be used instead by assigning an icon's handle to the MouseIconH property as in:
axSftButton1.MouseIconH = (int)icon1.Handle;
See Also SftButton Object | Object Hierarchy