Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftPictureObject.IconHandle Property

Defines the image object using an icon handle.

Syntax

Get

VB.NEThIcon = object.IconHandle As Integer
VBhIcon = object.IconHandle As OLE_HANDLE
C#.NETint hIcon = object.IconHandle;
VC++OLE_HANDLE hIcon = object->IconHandle;
OLE_HANDLE hIcon = object->GetIconHandle();
CHRESULT object->get_IconHandle(OLE_HANDLE* hIcon);

Put

VB.NETobject.IconHandle = hIcon As Integer
VBobject.IconHandle = hIcon As OLE_HANDLE
C#.NETint object.IconHandle = hIcon;
VC++OLE_HANDLE object->IconHandle = hIcon;
void object->PutIconHandle(OLE_HANDLE hIcon);
CHRESULT object->put_IconHandle(OLE_HANDLE hIcon);

object

A SftPictureObject object.

hIcon

Defines the image object using an icon handle. The icon handle can be Nothing (0, null, NULL), in which case the SftPictureObject object is cleared.

Comments

The IconHandle property defines the image object using an icon handle.

The SftPictureObject.Type property is set to sftTypeIcon. The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the icon size.

See Also SftPictureObject Object | Object Hierarchy


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