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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SendMessage Combination CTRL+Enter

Status
Not open for further replies.

WaterTight

Programmer
Nov 11, 2001
19
0
0
US
Because the window that i want to send ctrl and enter to will not always be on-top, i'm hoping there's a way to use sendmessage or postmessage to do this...i'm able to:
Code:
Public Const WM_CHAR = &H102
SendMessageByNum(tHwnd, WM_CHAR, 13, 0)
and just hit enter...but i'm clueless about how to add ctrl to that...

ideas?

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top