HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

SFTMASK_ERR Constants

Values for the read-only errorValue field on SFTMASK_CONTROL, set when SetControlInfo rejects a field. errorPos reports the offending position within the mask, if applicable.

SFTMASK_ERR_MASK (1)The edit mask (lpszMask) is invalid. errorPos reports the position of the error within the mask string.
SFTMASK_ERR_MASKONLY (2)The edit mask can only be changed by itself - other fields were modified in the same SetControlInfo call.
SFTMASK_ERR_captioniAlignment (100)The captioniAlignment field is invalid.
SFTMASK_ERR_captioniPosition (101)The captioniPosition field is invalid.
SFTMASK_ERR_captionnSizePercent (102)The captionnSizePercent field is invalid.
SFTMASK_ERR_captioniVerticalAlignment (103)The captioniVerticalAlignment field is invalid.
SFTMASK_ERR_caliFirstDay (104)The caliFirstDay field is invalid.
SFTMASK_ERR_calCenturyBreak (105)The calCenturyBreak field is invalid.
SFTMASK_ERR_nCalcLines (106)The nCalcLines field is invalid.
SFTMASK_ERR_nFracDigits (107)The nFracDigits field is invalid.
SFTMASK_ERR_iAlignment (108)The iAlignment field is invalid.
SFTMASK_ERR_iBorderStyle (109)The iBorderStyle field is invalid.
SFTMASK_ERR_iClipMode (110)The iClipMode field is invalid.
SFTMASK_ERR_iEditStyle (111)The iEditStyle field is invalid.
SFTMASK_ERR_iEntrySelect (112)The iEntrySelect field is invalid.
SFTMASK_ERR_iInputMode (113)The iInputMode field is invalid.
SFTMASK_ERR_nMaxLength (114)The nMaxLength field is invalid.
SFTMASK_ERR_iUseThemes (115)The iUseThemes field is invalid.
SFTMASK_ERR_auto_nMaxEntries (116)The auto_nMaxEntries field is invalid.
SFTMASK_ERR_auto_iMode (117)The auto_iMode field is invalid.
SFTMASK_ERR_iDragMode (118)The iDragMode field is invalid.
SFTMASK_ERR_captionnWidth (119)The captionnWidth field is invalid.
SFTMASK_ERR_auto_maxShown (120)The auto_maxShown field is invalid.
SFTMASK_ERR_auto_iContents (121)The auto_iContents field is invalid.
SFTMASK_ERR_iDefaultStyle (122)The iDefaultStyle field is invalid.
SFTMASK_ERR_nViewCalcLines (123)The nViewCalcLines field is invalid.
SFTMASK_ERR_iLabelPosition (124)The iLabelPosition field is invalid.
SFTMASK_ERR_erroriPosition (125)The erroriPosition field is invalid.
SFTMASK_ERR_erroriHandling (126)The erroriHandling field is invalid.
SFTMASK_ERR_nDarkMode (127)The nDarkMode field is invalid.
SFTMASK_ERR_nHighContrastMode (128)The nHighContrastMode field is invalid.
SFTMASK_ERR_imageScaling (129)The imageScaling field is invalid.
SFTMASK_ERR_pixelScaling (130)The pixelScaling field is invalid.

See Also SetControlInfo | SFTMASK_CONTROL


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