Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

GetImageListH Method, SftPictureObject Object

Retrieves the picture object attributes defined as an ImageList image.

Syntax

VB.NETobject.GetImageListH(ByRef ImageListWindow As Integer, ByRef ImageIndex As Short)
VBobject.GetImageListH(ImageListWindow As OLE_HANDLE, ImageIndex As Integer)
C#.NETvoid object.GetImageListH(out int ImageListWindow, out short ImageIndex);
VC++HRESULT object->GetImageListH(OLE_HANDLE* ImageListWindow, short* ImageIndex);
CHRESULT object->raw_GetImageListH(OLE_HANDLE* ImageListWindow, short* ImageIndex);

object

A SftPictureObject object.

ImageListWindow

Returns the ImageList control handle.

ImageIndex

Returns the one-based index of the image in the ImageList control used as graphic.

Comments

The GetImageListH method retrieves the picture object attributes defined as an ImageList image.

If the current picture object is not based on an ImageList (SftPictureObject.Type other than sftTypeImageListH), the returned values are not valid.

See Also SftPictureObject Object | Object Hierarchy


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