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
Adds a custom entry at the top of the open autocomplete suggestion list.
C
BOOL SftMask_AutoComplete_AddTop(HWND hwndCtl, LPCTSTR lpszText, int entryType);
C++
BOOL CSftMask::AutoCompleteAddTop(LPCTSTR lpszText, int entryType);
hwndCtl
The window handle of the masked edit control.
lpszText
The entry text.
entryType
An application-defined value identifying the entry. When the user accepts a custom entry, the NM_SFTMASK_MATCHCUSTOM notification reports this value.
The return value is TRUE if the entry was added.
Custom entries can only be added while the autocomplete suggestion list is open, typically while handling the NM_SFTMASK_MATCHADDCUSTOMITEMS notification. Custom entries are not saved to the autocomplete save file - use AutoCompleteSeed to add persistent entries.
See Also AutoCompleteAddBottom | AutoCompleteSeed | AutoComplete | Notifications
