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::HitTest

Show in webframe

#include "ltwrappr.h"

L_INT LImageListControl::HitTest(pPoint)

POINT * pPoint;

/* coordinate to test */

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

Parameter

Description

pPoint

Pointer to a POINT structure containing the location to test.

Returns

>=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

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.