I define a hotkey for the dialog, but it requires at least two keys, for example ctrl+F1, I want to use one hotkey(F1), I did not find the example in the help, I hope someone can remind me, thanks in advance
Macro Macro5

Macro Macro5
\Dialog_Editor
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 223 135 "Dialog"
;1 Button 0x54030001 0x4 120 116 48 14 "OK"
;2 Button 0x54030000 0x4 170 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2030506 "*" "" "" ""
if(!ShowDialog(dd &sub.DlgProc 0)) ret
#sub DlgProc
function# hDlg message wParam lParam
__RegisterHotKey- t_hk1
sel message
,case WM_INITDIALOG
,t_hk1.Register(hDlg 1 MOD_CONTROL VK_F1) ;;Ctrl+F1
,
,case WM_HOTKEY
,sel wParam
,,case 1 mes "Ctrl+F1"
,
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1