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
This section describes how to add a masked edit control to a dialog using Visual Studio.
To add a SftMask/DLL control to a dialog, use the "Custom Control" toolbar button. Click on the button and then the dialog being designed to add a control.
Once a custom control has been added to a dialog, you can edit the control properties by using the View, Properties... menu command.
To define a SftMask/DLL control, enter the class SftMaskControl70 in the edit field labeled Class.
To enter a SftMask/DLL window style in the User Control Properties dialog, use the following list to add the desired style values and enter the resulting hexadecimal value in the field marked Style.
| Style | Value | Description |
|---|---|---|
| WS_CHILD | 0x40000000 | Creates a child window. Usually required. |
| WS_DISABLED | 0x08000000 | Creates a masked edit control that is initially disabled. |
| WS_GROUP | 0x00020000 | Specifies the first control of a group of controls. |
| WS_TABSTOP | 0x00010000 | Specifies a control that can receive the keyboard focus when the user presses the TAB key. |
| WS_VISIBLE | 0x10000000 | Creates a masked edit control that is initially visible. Usually required. |
The masked edit control is customized at run-time by populating a SFTMASK_CONTROL structure and passing it to SftMask_SetControlInfo.
In the dialog test mode offered by Visual Studio, the SftMask/DLL control will not be displayed. Instead, a gray box will show the location of the control. When using the Tab key to test the tab stops, the simulated SftMask/DLL control will not receive the input focus and appear not to have a tab stop defined.
