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

Windows Message Handling

Status
Not open for further replies.

RileyCat

Programmer
Apr 5, 2004
124
US
I would do a search in the forum to see if this question has already been answered previously but it seems the search option is "under development".

Anyway, I am trying to use the SendKeys.Send method in my C#.Net application. I get the following Windows error when I do so . . .

"SendKeys cannot run inside this application because the application is not handling Windows messages".

What is the proper and correct way of doing so? So far everything I've tried is not working as I am still receiving the above message.

Any pointers or suggestions would be appreciated.

Thanks!

Stay Cool Ya'll! [smile2]

-- Kristin
 
What is your application type?

AFAIK, only applications of type "Windows Forms" have a message pump.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top