HotKeyEvent - Double Modifier Keys

BlitzPlus Forums/BlitzPlus Programming/HotKeyEvent - Double Modifier Keys

Does anyone know how to make a double HotKeyEvent modifier? Something like...
Window=CreateWindow("Window",0,0,640,480,0,1)

;5 = Ctrl+Shift+<key>
HotKeyEvent(1,5,$803)

Repeat
    id=WaitEvent()
    Select id
        case $803
            FreeGadget Window
            End
    End Select
Forever
End


That code should exit if you press Ctrl+Shift+ESC. I can't figure how to do that...

You don't add in the escape key, just use 3 (Ctrl=1+Shift=2):
HotKeyEvent(1,3,$803)
..should work.

Thank you very much.