This feature is very practical, easy to use, it can help a lot of people save a lot of input time and define time, I very much hope that developers can consider improvingĀ
Or use a dialog box, it will be easierĀ
Function Add_AutoText_dialog
Or use a dialog box, it will be easierĀ
Function Add_AutoText_dialog
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 210 136 "Add AutoText"
;3 Edit 0x54030080 0x200 84 16 96 13 "text"
;4 Edit 0x54030080 0x200 84 40 96 13 "Description"
;5 ComboBox 0x54230243 0x0 84 64 96 213 ""
;6 Static 0x54000000 0x0 24 64 48 13 "Add to:"
;7 Static 0x54000000 0x4 24 16 48 13 "Abbreviation:"
;8 Static 0x54000000 0x4 24 40 48 13 "Description:"
;9 Button 0x54012003 0x0 60 92 116 8 "Open AutoText file after adding"
;1 Button 0x54030001 0x4 88 112 48 14 "Add"
;2 Button 0x54030000 0x4 152 112 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040800 "*" "" "" ""
str controls = "3 4 5 9"
str e3tex e4Des cb5 c9Ope
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1