Some keys seem not to have a virtual key, like the comma (,) semicolon(:) or dot(.) (and some more).
So, how can I know when the user presses the comma key?
A standard way that will load the value 1036 in the Home key:
Code: Select all
AddKeyboardShortcut(Win,#PB_Shortcut_Home,1036)
Code: Select all
Repeat
Event=WaitWindowEvent()
Select Event
Case #PB_Event_Menu
KeyCode=EventMenu()
If KeyCode=1036
etc......
Cheers