This keystokes are used to switch from a french to a english keyboard
setting backwards and forwards under dos or dos-mode when launching KEYB FR
in the autoexec.bat
I have the command to send any scancode to DOS or Windows, but I do not know
the keycode I must generate for Ctrl-Alt-F1 or Ctrl-Alt-F2
Thanks for your contribution.
(and sorry for my bad english)
jean-franco...@wanadoo.fr
Mayotte Island (Indian Ocean)
It would take "keystroke" operations to do this:
Ctrl down
Alt down
F1 down
and then up, up, up.
Here's an example for sending Alt-F:
keybd_event( VK_MENU,0, 0, 0); // ALT down
keybd_event( 'F', 0, 0, 0 );
keybd_event( 'F', 0, KEYEVENTF_KEYUP, 0 );
keybd_event( VK_MENU,0, KEYEVENTF_KEYUP, 0 ); // Alt up