Determines the control area at a given location.
C
int SftMask_HitTest(HWND hwndCtl, int xPix, int yPix);
C++
int CSftMask::HitTest(int xPos, int yPos) const;
hwndCtl
The window handle of the masked edit control.
xPix, yPix
The position, in client area coordinates (pixels).
The return value identifies the area at the given location (see SFTMASK_AREA Constants), or -1 if no area matches.
See Also GetPosition | SFTMASK_AREA Constants | Components | Hit-Testing