SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Returns whether the masked edit control's contents are valid.
C
BOOL SftMask_IsValid(HWND hwndCtl);
C++
BOOL CSftMask::IsValid() const;
hwndCtl
The window handle of the masked edit control.
The return value is TRUE if the control's contents are valid.
The contents are validated against the edit mask, the fAllowEmpty / fAllowEmptyWithoutMask fields, date ranges and the application's custom validation (NM_SFTMASK_CUSTOMVALIDATION notification). No error message is displayed - use IsValidWithMsg to display a suitable error message.
Validation should typically take place in response to the user clicking on an OK, Apply or Save button, not when the control loses the input focus (see Input Validation).
See Also IsValidWithMsg | IsEmpty | Input Validation
