Windows+R

Résolu
cs_brice1000 Messages postés 5 Date d'inscription jeudi 17 février 2005 Statut Membre Dernière intervention 3 mars 2005 - 23 févr. 2005 à 21:10
WhiteHippo Messages postés 1154 Date d'inscription samedi 14 août 2004 Statut Membre Dernière intervention 5 avril 2012 - 23 févr. 2005 à 23:10
Bonjour,

quelqu'un pourrait-il me dire comment faire afficher la boite de dialogue 'Executer' de windows (Windows+R) ?...

Merci.

1 réponse

WhiteHippo Messages postés 1154 Date d'inscription samedi 14 août 2004 Statut Membre Dernière intervention 5 avril 2012 3
23 févr. 2005 à 23:10
procedure AppuiWindowsR ;
begin
keybd_event(VK_LWIN,0,0,0); // Enfoncer la touche Win gauche
keybd_event(Ord('R'),0,0,0); // Enfoncer la touche R
keybd_event(Ord('R'),0,KEYEVENTF_KEYUP,0); // Relever touche R
keybd_event(VK_LWIN,0,KEYEVENTF_KEYUP,0); // Relever touche Win gauche
end ;

Cordialement.
3
Rejoignez-nous