Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LImageListControl::ItemSelected

Show in webframe

#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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.