Back to Messages
Marco (Thu Dec 17 2015 at 9:10 pm)
Send scan keycodes...
Hello Dav is Marco again, I read the post of Galleon and I found a solution but I need help because I can't disable , once activated , the simulated pressing alt + enter keys.
This procedure does exactly what I wanted but remains "alt key" enabled .
DECLARE DYNAMIC LIBRARY "user32"
SUB SENDKEYS ALIAS keybd_event (BYVAL bVk AS LONG, BYVAL bScan AS LONG, BYVAL dwFlags AS LONG, BYVAL dwExtraInfo AS LONG)
VK_MENU = &H12 'alt key
VK_ENTER = &HD 'enter key
PRINT "PRINT SOMETHING TO VIEW THE EFFECTS OF SIMULATED KEYPRESS ALT+ENTER."
SENDKEYS VK_MENU, 0, 0, 0
SENDKEYS VK_ENTER, 0, 0, 0
What is the command to disable it ?
Off Topic ... I can't register myself on the site QB64.net ... finishing entering data, the system takes me back to the main forum page but the registration is not successful.
If I try to enter my username I have an error "Username doesn't exist"....
Please help me....
Reply to this Message
Powered by FlatForum 1.4