Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Invoke Resource-Only DLL Dialogs Pin
prasad_som3-Jan-07 19:03
prasad_som3-Jan-07 19:03 
AnswerRe: How to Invoke Resource-Only DLL Dialogs Pin
Johan Pretorius2-Jan-07 2:42
Johan Pretorius2-Jan-07 2:42 
GeneralRe: How to Invoke Resource-Only DLL Dialogs Pin
Pradeep.Reddy3-Jan-07 7:13
Pradeep.Reddy3-Jan-07 7:13 
AnswerRe: How to Invoke Resource-Only DLL Dialogs Pin
Cristian Amarie2-Jan-07 6:50
Cristian Amarie2-Jan-07 6:50 
GeneralRe: How to Invoke Resource-Only DLL Dialogs Pin
Pradeep.Reddy3-Jan-07 7:11
Pradeep.Reddy3-Jan-07 7:11 
GeneralRe: How to Invoke Resource-Only DLL Dialogs Pin
Cristian Amarie3-Jan-07 8:00
Cristian Amarie3-Jan-07 8:00 
QuestionThe Active X control cannot be instantiated Pin
nripun2-Jan-07 1:20
nripun2-Jan-07 1:20 
GeneralRe: The Active X control cannot be instantiated Pin
prasad_som2-Jan-07 1:32
prasad_som2-Jan-07 1:32 
GeneralRe: The Active X control cannot be instantiated Pin
nripun2-Jan-07 1:45
nripun2-Jan-07 1:45 
GeneralRe: The Active X control cannot be instantiated Pin
prasad_som2-Jan-07 1:54
prasad_som2-Jan-07 1:54 
QuestionDll exception Pin
manu_22052-Jan-07 0:56
manu_22052-Jan-07 0:56 
AnswerRe: Dll exception Pin
CPallini2-Jan-07 2:25
mveCPallini2-Jan-07 2:25 
QuestionRe: Dll exception Pin
Hamid_RT2-Jan-07 17:48
Hamid_RT2-Jan-07 17:48 
QuestionInternet and C++ Pin
Malini Nair2-Jan-07 0:53
Malini Nair2-Jan-07 0:53 
AnswerRe: Internet and C++ Pin
David Crow2-Jan-07 3:09
David Crow2-Jan-07 3:09 
AnswerRe: Internet and C++ Pin
ThatsAlok2-Jan-07 18:51
ThatsAlok2-Jan-07 18:51 
Questionopening a contact in Outlook DLL, locks up outlook Pin
gdolling2-Jan-07 0:35
gdolling2-Jan-07 0:35 
QuestionMoving The Mouse/Cursor Then Button Click ? Pin
Fritzables2-Jan-07 0:31
Fritzables2-Jan-07 0:31 
QuestionRe: Moving The Mouse/Cursor Then Button Click ? Pin
David Crow2-Jan-07 3:15
David Crow2-Jan-07 3:15 
AnswerRe: Moving The Mouse/Cursor Then Button Click ? Pin
Fritzables2-Jan-07 10:36
Fritzables2-Jan-07 10:36 
AnswerRe: Moving The Mouse/Cursor Then Button Click ? Pin
Walter_H2-Jan-07 4:11
Walter_H2-Jan-07 4:11 
GeneralRe: Moving The Mouse/Cursor Then Button Click ? Pin
Fritzables2-Jan-07 10:37
Fritzables2-Jan-07 10:37 
AnswerRe: Moving The Mouse/Cursor Then Button Click ? Pin
John R. Shaw2-Jan-07 11:33
John R. Shaw2-Jan-07 11:33 
I am not sure about a console application.

In Windows the mouse pointer is called a ‘cursor’ and you can set the position by calling SetCursorPos(x,y). Note that if ClipCursor was used to limit its rectangular area of movement then it will remain in that area.

After setting its position you can post the button-down and button-up messages, in that order, to simulate a button press & release.


INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

GeneralRe: Moving The Mouse/Cursor Then Button Click ? Pin
Fritzables2-Jan-07 11:52
Fritzables2-Jan-07 11:52 
GeneralRe: Moving The Mouse/Cursor Then Button Click ? Pin
John R. Shaw2-Jan-07 12:32
John R. Shaw2-Jan-07 12:32 

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.