HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

HitTest

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;

Parameters

hwndCtl

The window handle of the masked edit control.

xPix, yPix

The position, in client area coordinates (pixels).

Returns

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


Last Updated 08/30/2026 - (email)
© 2026 Softel vdm, Inc.