Hi,
I want to disable the CapsLock key completely(Do not switch the state of letter case), but can use it as a trigger, Is this possible?
In the following example, in the QM program, pressing the CapsLock key opens the dialog box in function Fun1
Press the capslock key at this point and it still works(can switch the state of letter case),
I want to disable it at all times(When I need to change the case of letters, use the Shift key)
Function Fun1
Trigger K //QM_FF
Function QM_FF
I want to disable the CapsLock key completely(Do not switch the state of letter case), but can use it as a trigger, Is this possible?
In the following example, in the QM program, pressing the CapsLock key opens the dialog box in function Fun1
Press the capslock key at this point and it still works(can switch the state of letter case),
I want to disable it at all times(When I need to change the case of letters, use the Shift key)
Function Fun1
Trigger K //QM_FF
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 224 136 "Dialog" "4"
;3 Edit 0x54030080 0x200 68 48 96 12 ""
;1 Button 0x54030001 0x4 116 116 48 14 "OK"
;2 Button 0x54030000 0x4 168 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040C02 "*" "" "" ""
str controls = "3"
str e3
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
Function QM_FF