LImageListControl::HitTest

Summary

Queries the ImageList Control for the index of the item at the specified location.

Syntax

#include "ltwrappr.h"

L_INT LImageListControl::HitTest(pPoint)

Parameters

POINT * pPoint

Pointer to a POINT structure containing the location to test.

Returns

Value Meaning
>=0 The index of the item at the specified location.
< SUCCESS An error occurred. Refer to Return Codes.

Comments

This function will return the 0 based index of the item at the specified location if one exists.

The location is in MM_TEXT mapping mode (pixels), and is relative to the client area of the control's window.

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.