Adds a custom entry at the bottom of the open autocomplete suggestion list.
C
BOOL SftMask_AutoComplete_AddBottom(HWND hwndCtl, LPCTSTR lpszText, int entryType);
C++
BOOL CSftMask::AutoCompleteAddBottom(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. The value 0 is reserved and cannot be used. 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 handling the NM_SFTMASK_MATCHADDCUSTOMITEMS notification, which is sent only if the auto_iMode field is set to SFTMASK_AUTOCOMPLETE_SUGGEST. At any other time, the function returns FALSE. Custom entries are not saved to the autocomplete save file - use AutoCompleteSeed to add persistent entries.
See Also AutoCompleteAddTop | AutoCompleteSeed | AutoComplete | Notifications