PDA

View Full Version : SendKeys??


mattalexx
04-08-02, 14:34
I'm trying to make a funny in my signature and I realized that I don't know how to specify the holding down of two of the CTRL, ALT, or SHIFT keys in the SendKeys statement.

How do you use the SendKeys statement to press Control + Alt, Delete?

Matt(+)

Rafael_Machado
04-10-02, 14:50
Hi mattalexx,

I think the best way to do what do you want is to use this api functions in following.

Public Declare Function ExitWindows Lib "user32" Alias "ExitWindows" (ByVal dwReserved As Long, ByVal uReturnCode As Long) As Long

Public Declare Function ExitWindowsEx Lib "user32" Alias "ExitWindowsEx" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long

Regards,

Rafael

mattalexx
04-10-02, 14:51
thanks