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
Fields defined in a masked edit control are automatically formatted based on the defined edit mask (lpszMask field of the SFTMASK_CONTROL structure). Numeric fields support group formatting, leading zeros and negative number display; date and time fields are formatted using the user's locale.
The lpszFormattedText field can be used to override the default contents while the control does not have the input focus. The text is defined by the application. As soon as the masked edit control loses the input focus, the text defined by lpszFormattedText is displayed. If lpszFormattedText is set to an empty string or whenever the mouse cursor moves over the edit control, the formatted text based on the edit mask is displayed instead.
The GetTextDisplay function can be used by an application to retrieve the control's contents as displayed, with or without literal characters, for example to store or further process the formatted representation.
See Also Masked Edit Control | Edit Masks | GetTextDisplay | SFTMASK_CONTROL
