LImageListControl::ItemSelected

#include "ltwrappr.h"

virtual L_VOID LImageListControl::ItemSelected (nCtlID, pItemSel)

L_INT nCtlID;

the controls ID

pLILITEMSEL pItemSel;

pointer to a structure that contains information about the selected item

Override this function to be notified when the user selects an item in the ImageList Control.

Parameter

Description

nCtlID

Identifier of the control.

pItemSel

Pointer to an LILITEMSEL structure containing information about the selected item.

Returns

None

Comments

This function is called when an Item is selected by the user.

You can override this function instead of processing the L_ILN_ITEMSEL command notification when you are sub-classing the ImageList Control.

The lIndex member of the LILITEMSEL structure pointed to by pItemSel will contain the 0-based index of the selected item.

Required DLLs and Libraries

LTDIS
LTFIL
LTIMG

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Using the ImageList Control

Example

For an example, refer to LImageListControl::MsgProcCallBack.

Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help