Click here to Skip to main content
16,006,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help with dll compile Pin
Stephane Rodriguez.23-Sep-02 9:17
Stephane Rodriguez.23-Sep-02 9:17 
GeneralI just want a DLL :( Pin
leppie23-Sep-02 9:46
leppie23-Sep-02 9:46 
GeneralApplication will not open "new file dialog" in some cases Pin
Chris Klecker23-Sep-02 7:13
Chris Klecker23-Sep-02 7:13 
GeneralRe: Application will not open "new file dialog" in some cases Pin
User 988523-Sep-02 7:17
User 988523-Sep-02 7:17 
GeneralRe: Application will not open "new file dialog" in some cases Pin
Chris Klecker23-Sep-02 16:08
Chris Klecker23-Sep-02 16:08 
QuestionHow to force invalidation of NonClient Area Pin
Gary Ranson23-Sep-02 6:37
Gary Ranson23-Sep-02 6:37 
AnswerRe: How to force invalidation of NonClient Area Pin
User 988523-Sep-02 7:13
User 988523-Sep-02 7:13 
QuestionHow to simulate user input (keyboard and mouse input) by sending messages to application, just like some testing tools, such as QARun, Robot etc. Pin
Xia yingqiang23-Sep-02 5:45
Xia yingqiang23-Sep-02 5:45 
Now I am developing a tool to simulate user input (keyboard and mouse input) to other applications on windows. The problem seems to be the program doest not work like I expected when I use SendMessage or PostMessage to send keyboard and mouse input to other applications. For example, the user input steps are: mouseclick an editbox in an application’s window, type a string , and then mouseclick another editbox in the window , type another string ; First I send a mouse message to the first edit box to get focus, and send keyboard messages to type the string in the first edit box, then send a mouse message to the second edit box to get focus, and send keyboard messages to type the string in the second edit box. But the result is not what I expected. What’s the matter at all? And if I post a mouse message to click a button, then open a model dialog, but I send any message to the controls in the dialog box , nothing happed. I expect my program can work like some testing tools, such as QARun, Robot etc., to control applications and simulate user input. How should I do? Can you give me some suggestion? Thank you very much!Smile | :)

waiting for your help ^_^
xia
AnswerRe: How to simulate user input (keyboard and mouse input) by sending messages to application, just like some testing tools, such as QARun, Robot etc. Pin
Andreas Saurwein23-Sep-02 6:06
Andreas Saurwein23-Sep-02 6:06 
GeneralRe: How to simulate user input (keyboard and mouse input) by sending messages to application, just like some testing tools, such as QARun, Robot etc. Pin
Xia yingqiang23-Sep-02 7:33
Xia yingqiang23-Sep-02 7:33 
AnswerRe: If you are only running on Windows 98 or later, you can use SendInput, which can even simulate another hardware input events Pin
Daniel Turini23-Sep-02 8:37
Daniel Turini23-Sep-02 8:37 
GeneralRe: If you are only running on Windows 98 or later, you can use SendInput, which can even simulate another hardware input events Pin
Xia yingqiang24-Sep-02 5:41
Xia yingqiang24-Sep-02 5:41 
GeneralMulticast .... Pin
User 988523-Sep-02 5:18
User 988523-Sep-02 5:18 
GeneralRe: Multicast .... Pin
Mike Nordell23-Sep-02 8:24
Mike Nordell23-Sep-02 8:24 
GeneralRe: Multicast .... Pin
User 988523-Sep-02 8:33
User 988523-Sep-02 8:33 
GeneralTrouble reading files...CFile:Read Pin
merc23-Sep-02 5:00
merc23-Sep-02 5:00 
GeneralRe: Trouble reading files...CFile:Read Pin
jmkhael23-Sep-02 5:32
jmkhael23-Sep-02 5:32 
GeneralRe: Trouble reading files...CFile:Read Pin
merc23-Sep-02 6:34
merc23-Sep-02 6:34 
GeneralRe: Trouble reading files...CFile:Read Pin
jmkhael23-Sep-02 7:09
jmkhael23-Sep-02 7:09 
GeneralRe: Trouble reading files...CFile:Read Pin
Neville Franks23-Sep-02 5:37
Neville Franks23-Sep-02 5:37 
GeneralRe: Trouble reading files...CFile:Read Pin
merc23-Sep-02 6:38
merc23-Sep-02 6:38 
GeneralRe: Trouble reading files...CFile:Read Pin
Neville Franks23-Sep-02 11:47
Neville Franks23-Sep-02 11:47 
GeneralRe: Trouble reading files...CFile:Read Pin
merc24-Sep-02 7:27
merc24-Sep-02 7:27 
GeneralRe: Trouble reading files...CFile:Read Pin
Todd Smith23-Sep-02 6:18
Todd Smith23-Sep-02 6:18 
GeneralRe: Trouble reading files...CFile:Read Pin
merc23-Sep-02 6:40
merc23-Sep-02 6:40 

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.