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
Validates the masked edit control's contents, displaying a suitable error message if invalid.
C
BOOL SftMask_IsValid_WithMsg(HWND hwndCtl);
C++
BOOL CSftMask::IsValidWithMsg();
hwndCtl
The window handle of the masked edit control.
The return value is TRUE if the control's contents are valid.
If the contents are invalid, an error message is displayed based on the lpszMsgErrorEmpty and lpszMsgErrorInvalid fields (lpszMsgTitle defines the message box title) and the input focus is set to the control.
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 IsValid | Input Validation
