L_INT LImageListControl::HitTest(pPoint)
Queries the ImageList Control for the index of the item at the specified location.
Pointer to a POINT structure containing the location to test.
Value | Meaning |
---|---|
>=0 | The index of the item at the specified location. |
< SUCCESS | An error occurred. Refer to Return Codes. |
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.
Win32, x64.
For an example, refer to LImageListControl::MsgProcCallBack.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document