HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

OptimalPosition

Positions the caret at the optimal input position.

C

void SftMask_OptimalPosition(HWND hwndCtl, BOOL fGoingRight);

C++

void CSftMask::OptimalPosition(BOOL fGoingRight);

Parameters

hwndCtl

The window handle of the masked edit control.

fGoingRight

TRUE to search towards the end, FALSE to search towards the beginning.

Comments

The caret is moved to the next position where data can be entered, skipping literal positions.

See Also GetInsertPosition | Selection


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