TerAddAutoCompWord
Set an auto-completion word/phrase pair.
BOOL TerAddAutoCompWord(hWnd, ACWord, ACPhrase)
HWND hWnd; | The handle of the window to be accessed |
LPBYTE ACWord; | Contains the pointer to an auto-completion key word. |
LPBYTE ACPhrase; | Contain the pointer to the auto-completion phrase for the key word. |
Description: This function adds the key word and the expansion phrase to the auto-completion list. When the user type a key word, the control automatically replaces it with the corresponding phrase.
Result: This function returns True when successful.