This function tests the existence of an icon in the specified position and returns its index.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_hit_test ( HWND hwndThumbnail, INT x, INT y, LPINT lpIndex ); |
Name | Type | Description |
---|---|---|
hwndThumbnail | HWND | Windows handle to the Thumbnail Window. |
x | INT | Pointer for the test. |
y | INT | Pointer for the test. |
lpIndex | LPINT | Index of an icon in the specified position; -1 if there is no icon. |
This function does not process image pixels.
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Copy Code
|
|
---|---|
HWND hWndThumb; INT nIndex; INT x,y; IG_GUI_thumbnail_hit_test(hWndThumb, x, y, &nIndex); |
None