HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

QueryChar

Tests whether the masked edit control accepts the specified character at the current caret location.

C

BOOL SftMask_QueryChar(HWND hwndCtl, TCHAR ch);

C++

BOOL CSftMask::QueryChar(TCHAR ch) const;

Parameters

hwndCtl

The window handle of the masked edit control.

ch

The character to test.

Returns

The return value is TRUE if the control would accept the character.

Comments

The character is not entered - the control's contents remain unchanged. SftMask_QueryChar_A and SftMask_QueryChar_W are explicit ANSI/Unicode variants.

See Also Edit Masks | Keyboard & Mouse Interface


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