LImageListControl::ItemSelected

Summary

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

Syntax

#include "ltwrappr.h"

virtual L_VOID LImageListControl::ItemSelected (nCtlID, pItemSel)

Parameters

L_INT nCtlID

Identifier of the control.

pLILITEMSEL 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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LImageListControl::MsgProcCallBack.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.