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
The complete C and C++/MFC API for SftMask/DLL 7.0, in alphabetical order.
| Function | Description |
|---|---|
| ActivateInput | Activate or deactivate data entry. |
| AutoCompleteAddBottom | Add a custom entry at the bottom of the open autocomplete suggestion list. |
| AutoCompleteAddTop | Add a custom entry at the top of the open autocomplete suggestion list. |
| AutoCompleteRefresh | Open or refresh the autocomplete window. |
| AutoCompleteSeed | Add an array of strings to the autocomplete save file, skipping entries already present. |
| CanUndo | Return whether an undo operation is possible. |
| Create | Create a masked edit control as a child window programmatically (C++/MFC only). |
| CSftMask | Constructor / destructor for the MFC class (C++/MFC only). |
| EmptyUndo | Empty the undo buffer. |
| FreeGDIPlusImageLoadedFromFile | Free a GDI+ image previously loaded with LoadGDIPlusImageFromFile. |
| FreeGDIPlusImageLoadedFromResource | Free a GDI+ image previously loaded with LoadGDIPlusImageFromResource. |
| GetCharIndex | Return the index of the character at a given location. |
| GetCharPos | Return the bounding rectangle of a range of characters. |
| GetControlInfo | Retrieve the current SFTMASK_CONTROL structure. |
| GetDarkMode | Return the current dark mode setting (OFF / ON / AUTO). |
| GetDateTime | Retrieve the contents as a date/time value. |
| GetDesign | Return whether the control is in design mode. |
| GetDPI | Return the effective DPI of the monitor the control is currently displayed on. |
| GetHighContrastMode | Return the current high contrast setting (OFF / ON / AUTO). |
| GetImageScaling | Return the current image-scaling setting (ASIS / STRETCH). |
| GetInsertPosition | Calculate the closest valid caret location for insertion. |
| GetPixelScaling | Return the current pixel-scaling setting (ASIS / STRETCH). |
| GetPosition | Return the position and dimensions of a control area. |
| GetSelText | Retrieve the currently selected text. |
| GetText | Retrieve the control's contents. |
| GetTextDisplay | Retrieve the control's contents as displayed (the formatted representation). |
| GetValue | Retrieve the value of a numeric input field or a mask variable. |
| HitTest | Determine the control area at a given location. |
| IsCalculatorWindowOrChildWindow | Return whether a window is the popup calculator window or one of its children. |
| IsCalendarWindowOrChildWindow | Return whether a window is the popup calendar window or one of its children. |
| IsDarkModeActive | Return TRUE if dark-mode rendering is currently in effect. |
| IsEmpty | Return whether the control is empty. |
| IsHighContrastActive | Return TRUE if high-contrast rendering is currently in effect. |
| IsValid | Return whether the control's contents are valid. |
| IsValidWithMsg | Validate the contents, displaying a suitable error message if invalid. |
| LoadGDIPlusImageFromFile | Load a PNG / TIFF / JPEG / GIF / EMF image from a file as a GDI+ image. |
| LoadGDIPlusImageFromResource | Load a PNG / TIFF / JPEG / GIF / EMF image from an embedded application resource as a GDI+ image. |
| NextControl | Move the input focus to the next control on the dialog. |
| OptimalPosition | Position the caret at the optimal input position. |
| PrevControl | Move the input focus to the previous control on the dialog. |
| QueryChar | Test whether the control accepts the specified character. |
| RegisterApp | Register the SftMask window classes with a process. |
| Rollup | Close any open popup window (calendar, calculator, autocomplete). |
| SetBoldDate | Set a date shown bold in the popup calendar. |
| SetControlInfo | Apply a SFTMASK_CONTROL structure to the control. |
| SetDarkMode | Select OFF / ON / AUTO dark mode for the control. |
| SetDateTime | Set the contents from a date/time value. |
| SetDefaultValue | Apply the default text to an empty control. |
| SetDesign | Switch the control into / out of design mode. |
| SetHighContrastMode | Select OFF / ON / AUTO high contrast for the control. |
| SetImageScaling | Select whether the error images are scaled by currentDPI / 96. |
| SetPixelScaling | Select whether caller-supplied pixel dimensions are interpreted as 96-DPI reference values. |
| SetSelText | Replace the currently selected text. |
| SetText | Set the control's contents. |
| SetValue | Set the value of a numeric input field or a mask variable. |
| ShowDropPosition | Visualize the insert location during drag & drop. |
| UnregisterApp | Unregister the SftMask window classes. |
| WndProc | The masked edit control's window procedure. Exposed for advanced scenarios; applications do not call it directly. |
See Also Notifications | Windows Messages | SFTMASK_CONTROL
