Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Combination KeyStrokes to Application. ALT + Key

Status
Not open for further replies.

Alegendxx

Programmer
Dec 30, 2001
4
0
0
US
(Working with MFC)

CWndObject.PostMessage(WM_KEYDOWN, 13) ;

that line of code sends the return carriage to the Window.
replacing 13 with any other character code sends that character to the Window.

I want to sent the simultaneous key press of ALT + w OR ALT + any other key.
How can I send the Key press of ALT and a character at the same time, to another window? without doing them one at a time.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top