Click here to Skip to main content
15,917,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: question about classes without data Pin
Prakash Nadar7-Jan-06 22:32
Prakash Nadar7-Jan-06 22:32 
QuestionBFFM_SETSELECTION question Pin
nm_1147-Jan-06 19:51
nm_1147-Jan-06 19:51 
AnswerRe: BFFM_SETSELECTION question Pin
Prakash Nadar7-Jan-06 21:16
Prakash Nadar7-Jan-06 21:16 
GeneralRe: BFFM_SETSELECTION question Pin
nm_1148-Jan-06 6:28
nm_1148-Jan-06 6:28 
GeneralRe: BFFM_SETSELECTION question Pin
Prakash Nadar8-Jan-06 14:58
Prakash Nadar8-Jan-06 14:58 
GeneralRe: BFFM_SETSELECTION question Pin
nm_1148-Jan-06 17:01
nm_1148-Jan-06 17:01 
GeneralRe: BFFM_SETSELECTION question Pin
Prakash Nadar8-Jan-06 17:36
Prakash Nadar8-Jan-06 17:36 
GeneralRe: BFFM_SETSELECTION question Pin
nm_1148-Jan-06 18:40
nm_1148-Jan-06 18:40 
Questionquestions about pointers Pin
neodeaths7-Jan-06 19:28
neodeaths7-Jan-06 19:28 
AnswerRe: questions about pointers Pin
Prakash Nadar7-Jan-06 20:58
Prakash Nadar7-Jan-06 20:58 
AnswerRe: questions about pointers Pin
vikas amin7-Jan-06 21:52
vikas amin7-Jan-06 21:52 
GeneralRe: questions about pointers Pin
Prakash Nadar7-Jan-06 22:01
Prakash Nadar7-Jan-06 22:01 
QuestionWhy the application could not run at Windows XP? Pin
rushing7-Jan-06 17:22
rushing7-Jan-06 17:22 
AnswerRe: Why the application could not run at Windows XP? Pin
Prakash Nadar7-Jan-06 21:44
Prakash Nadar7-Jan-06 21:44 
QuestionGDI+ Visual C++ wrapper class operators missing? Pin
bob169727-Jan-06 15:03
bob169727-Jan-06 15:03 
Questionask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 13:51
Pierre,Hsieh7-Jan-06 13:51 
AnswerRe: ask one question in VC .NET Pin
PJ Arends7-Jan-06 14:02
professionalPJ Arends7-Jan-06 14:02 
GeneralRe: ask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 14:14
Pierre,Hsieh7-Jan-06 14:14 
GeneralRe: ask one question in VC .NET Pin
PJ Arends7-Jan-06 14:44
professionalPJ Arends7-Jan-06 14:44 
GeneralRe: ask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 15:03
Pierre,Hsieh7-Jan-06 15:03 
QuestionRe: ask one question in VC .NET Pin
David Crow7-Jan-06 17:15
David Crow7-Jan-06 17:15 
QuestionSimulating mouse clicks Pin
Still learning how to code7-Jan-06 11:46
Still learning how to code7-Jan-06 11:46 
The application that I am currently developing is attempting to programmatically control an external application by simulating mouse clicks in it's various windows. I have managed to produce the context menu on the external application by simulating a RH mouse click (using PostMessage's with WM_RBUTTONDOWN / WM_RBUTTONUP). I can also execute an item on the popup menu by positioning the cursor and simulating a LH mouse click (using PostMessage's with WM_LBUTTONDOWN / WM_LBUTTONUP). This all works as expected if there is no other code following it (i.e. my app exits) or there is an AfxMessageBox separating this code and further mouse-click simulations. The failure is that execution of the popup menu item doesn't result in a new window. I get the feeling that the external app is not getting 'time' to receive/react to the simulated clicks until my app exits (Presumably, the AfxMessageBox must also have the same effect - yes ?). I have tried Sleep(10000) after the context menu operation, but this doesn't seem to help. Do I need to (somehow) inform the system that my app doesn't need the remainder of it's current timeslot, thus giving the external app time to "do its stuff". If so, how do I do that ?

Doug
AnswerRe: Simulating mouse clicks Pin
vipinasda7-Jan-06 12:04
vipinasda7-Jan-06 12:04 
GeneralRe: Simulating mouse clicks Pin
Still learning how to code7-Jan-06 21:15
Still learning how to code7-Jan-06 21:15 
AnswerRe: Simulating mouse clicks Pin
#realJSOP8-Jan-06 3:00
professional#realJSOP8-Jan-06 3:00 

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.