This function can be called while processing the Windows mouse-button-down message WM_LBUTTONDOWN, for a Color Profile window's parent window.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_color_profile_track_mouse( HIGEAR hIGear, DWORD dwGrpID, HWND hWndProfile, INT nX, INT nY ); |
Name | Type | Description |
---|---|---|
hIGear | HIGEAR | HIGEAR handle of image. |
DwGrpID | DWORD | Display group identifier used for image drawing the options to be used in GUI calculations. |
hWndProfile | HWND | Handle of GUI Profile window. |
nX | INT | X position of left mouse button click. |
nY | INT | Y position of left mouse button click. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
Display, GUI Windows
You can obtain (nX, nY), the coordinates of the mouse click, from the parameters passed by Windows with the WM_... message. See the GUI Windows sample application for a description of how to use this and related IG_GUI_color_profile_...() functions.