Positions the caret at the optimal input position.
C
void SftMask_OptimalPosition(HWND hwndCtl, BOOL fGoingRight);
C++
void CSftMask::OptimalPosition(BOOL fGoingRight);
hwndCtl
The window handle of the masked edit control.
fGoingRight
TRUE to search towards the end, FALSE to search towards the beginning.
The caret is moved to the next position where data can be entered, skipping literal positions.
See Also GetInsertPosition | Selection