Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sending Keystrokes to another process Pin
Michael Dunn15-Dec-01 10:55
sitebuilderMichael Dunn15-Dec-01 10:55 
GeneralRe: Sending Keystrokes to another process Pin
Daniel Ferguson15-Dec-01 12:05
Daniel Ferguson15-Dec-01 12:05 
GeneralRe: Sending Keystrokes to another process Pin
Tim Smith15-Dec-01 16:03
Tim Smith15-Dec-01 16:03 
GeneralRe: Sending Keystrokes to another process Pin
Tim Deveaux15-Dec-01 18:05
Tim Deveaux15-Dec-01 18:05 
GeneralRe: Sending Keystrokes to another process Pin
Mustafa Demirhan16-Dec-01 17:03
Mustafa Demirhan16-Dec-01 17:03 
GeneralRe: Sending Keystrokes to another process Pin
Tim Deveaux15-Dec-01 14:24
Tim Deveaux15-Dec-01 14:24 
GeneralRe: Sending Keystrokes to another process Pin
#realJSOP16-Dec-01 3:15
professional#realJSOP16-Dec-01 3:15 
GeneralRe: Sending Keystrokes to another process Pin
Tim Deveaux16-Dec-01 4:00
Tim Deveaux16-Dec-01 4:00 
I _think_ the first thing I'd try is sandwiching the key to be shifted (or ctrl'd or alt'd) between the up and down messages for the VK_SHIFT (or VK_CONTROL, VK_MENU).

send keydown for shift
send keydown for char
send keyup for char
send keyup for shift

If the char gets there before the shift key goes up it should look like the user pressed it while the key was held down.

Hmmm... should work, but why is my spidey sense tingling...
GeneralPrinting Problem! Pin
Mazdak15-Dec-01 8:36
Mazdak15-Dec-01 8:36 
GeneralBeyond Fundamental C++ - Experience Pin
valikac15-Dec-01 7:03
valikac15-Dec-01 7:03 
GeneralRe: Beyond Fundamental C++ - Experience Pin
Tim Smith15-Dec-01 8:00
Tim Smith15-Dec-01 8:00 
GeneralRe: Beyond Fundamental C++ - Experience Pin
Michael Dunn15-Dec-01 8:39
sitebuilderMichael Dunn15-Dec-01 8:39 
GeneralRe: Beyond Fundamental C++ - Experience Pin
valikac15-Dec-01 9:31
valikac15-Dec-01 9:31 
GeneralRe: Beyond Fundamental C++ - Experience Pin
valikac15-Dec-01 10:13
valikac15-Dec-01 10:13 
GeneralRe: Beyond Fundamental C++ - Experience Pin
Tim Smith15-Dec-01 10:27
Tim Smith15-Dec-01 10:27 
GeneralRe: Beyond Fundamental C++ - Experience Pin
valikac15-Dec-01 10:51
valikac15-Dec-01 10:51 
GeneralRe: Beyond Fundamental C++ - Experience Pin
Todd Smith16-Dec-01 5:00
Todd Smith16-Dec-01 5:00 
GeneralRe: Beyond Fundamental C++ - Experience Pin
valikac16-Dec-01 5:20
valikac16-Dec-01 5:20 
GeneralFunction explored from .exe files and heap problems Pin
Marc Richarme15-Dec-01 6:02
Marc Richarme15-Dec-01 6:02 
GeneralRe: Function explored from .exe files and heap problems Pin
Igor Sukhov15-Dec-01 6:14
Igor Sukhov15-Dec-01 6:14 
GeneralRe: Function explored from .exe files and heap problems Pin
Marc Richarme15-Dec-01 8:47
Marc Richarme15-Dec-01 8:47 
GeneralRe: Function explored from .exe files and heap problems Pin
Joaquín M López Muñoz16-Dec-01 2:57
Joaquín M López Muñoz16-Dec-01 2:57 
QuestionHow to integrate a Button Object into the middle of the Mainframe at Runtime. Pin
Alexander_BMW15-Dec-01 5:20
Alexander_BMW15-Dec-01 5:20 
QuestionModeless dialog?? Pin
Rickard Andersson2015-Dec-01 1:18
Rickard Andersson2015-Dec-01 1:18 
AnswerRe: Modeless dialog?? Pin
David Wulff15-Dec-01 2:53
David Wulff15-Dec-01 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.