Click here to Skip to main content
15,888,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionCan we track the URL using MFC? Is there any possibility? Pin
Malini Nair2-Jan-07 0:25
Malini Nair2-Jan-07 0:25 
AnswerRe: Can we track the URL using MFC? Is there any possibility? Pin
ThatsAlok2-Jan-07 18:53
ThatsAlok2-Jan-07 18:53 
AnswerRe: Can we track the URL using MFC? Is there any possibility? Pin
S Douglas2-Jan-07 23:47
professionalS Douglas2-Jan-07 23:47 
QuestionHow to launch an application in system startup in VISTA Pin
Ravinder Are1-Jan-07 23:48
Ravinder Are1-Jan-07 23:48 
AnswerRe: How to launch an application in system startup in VISTA Pin
Michael Dunn2-Jan-07 15:18
sitebuilderMichael Dunn2-Jan-07 15:18 
QuestionDebug vs Realese Pin
Ohad Cabiri1-Jan-07 22:45
Ohad Cabiri1-Jan-07 22:45 
AnswerSure? Pin
CPallini1-Jan-07 23:18
mveCPallini1-Jan-07 23:18 
AnswerRe: Debug vs Realese Pin
pffeng2-Jan-07 0:25
pffeng2-Jan-07 0:25 
GeneralRe: Debug vs Realese Pin
Ohad Cabiri2-Jan-07 0:45
Ohad Cabiri2-Jan-07 0:45 
AnswerRe: Debug vs Realese Pin
prasad_som2-Jan-07 1:24
prasad_som2-Jan-07 1:24 
GeneralRe: Debug vs Realese Pin
Ohad Cabiri2-Jan-07 2:09
Ohad Cabiri2-Jan-07 2:09 
GeneralRe: Debug vs Realese Pin
ThatsAlok2-Jan-07 18:55
ThatsAlok2-Jan-07 18:55 
AnswerRe: Debug vs Realese Pin
prasad_som2-Jan-07 19:01
prasad_som2-Jan-07 19:01 
AnswerRe: Debug vs Realese Pin
ThatsAlok2-Jan-07 18:54
ThatsAlok2-Jan-07 18:54 
AnswerRe: Debug vs Realese Pin
prasad_som2-Jan-07 19:03
prasad_som2-Jan-07 19:03 

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.