Click here to Skip to main content
15,885,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThreads Pin
Anthony988731-May-06 8:56
Anthony988731-May-06 8:56 
AnswerRe: Threads Pin
valikac31-May-06 10:04
valikac31-May-06 10:04 
GeneralRe: Threads Pin
Anthony988731-May-06 14:42
Anthony988731-May-06 14:42 
GeneralRe: Threads Pin
valikac31-May-06 14:46
valikac31-May-06 14:46 
QuestionGetting screen coordinated from a window [modified] Pin
Ista31-May-06 8:50
Ista31-May-06 8:50 
QuestionRe: Getting screen coordinated from a window [modified] Pin
David Crow31-May-06 9:13
David Crow31-May-06 9:13 
AnswerRe: Getting screen coordinated from a window [modified] Pin
Ista31-May-06 9:18
Ista31-May-06 9:18 
GeneralRe: Getting screen coordinated from a window [modified] Pin
Zac Howland31-May-06 10:01
Zac Howland31-May-06 10:01 
If you are just trying to cause the message handler for your button click to get called, just use Send/PostMessage with your window handle for the button (which you will still have to obtain, but you already have the app window handle, so it won't be too hard from there).

If you actually want to move the mouse there, try setting the focus to either the app or to the button before calling SendInput. You will also have to call SendInput 2 different times: once to move the mouse to the correct position and once to simulate the button press.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
QuestionArray of images [modified] Pin
sclore31-May-06 8:35
sclore31-May-06 8:35 
Questionhow to connect to a database like postgresql or mysql? Pin
ThinkingPrometheus31-May-06 8:00
ThinkingPrometheus31-May-06 8:00 
AnswerRe: how to connect to a database like postgresql or mysql? Pin
David Crow31-May-06 8:38
David Crow31-May-06 8:38 
GeneralRe: how to connect to a database like postgresql or mysql? Pin
ThinkingPrometheus31-May-06 8:58
ThinkingPrometheus31-May-06 8:58 
GeneralRe: how to connect to a database like postgresql or mysql? Pin
David Crow31-May-06 9:09
David Crow31-May-06 9:09 
AnswerRe: how to connect to a database like postgresql or mysql? Pin
Eric Dahlvang31-May-06 10:11
Eric Dahlvang31-May-06 10:11 
AnswerRe: how to connect to a database like postgresql or mysql? Pin
markkuk31-May-06 12:54
markkuk31-May-06 12:54 
GeneralPOP3 SERVER [modified] Pin
hahayk31-May-06 7:05
hahayk31-May-06 7:05 
AnswerRe: POP3 SERVER Pin
leppie31-May-06 7:13
leppie31-May-06 7:13 
GeneralRe: POP3 SERVER Pin
Nish Nishant31-May-06 7:16
sitebuilderNish Nishant31-May-06 7:16 
GeneralRe: POP3 SERVER Pin
ThatsAlok31-May-06 22:16
ThatsAlok31-May-06 22:16 
GeneralRe: POP3 SERVER Pin
toxcct31-May-06 7:16
toxcct31-May-06 7:16 
GeneralRe: POP3 SERVER Pin
Nish Nishant31-May-06 7:22
sitebuilderNish Nishant31-May-06 7:22 
GeneralRe: POP3 SERVER Pin
Zac Howland31-May-06 7:23
Zac Howland31-May-06 7:23 
GeneralRe: POP3 SERVER Pin
Jon Sagara31-May-06 7:33
Jon Sagara31-May-06 7:33 
GeneralRe: POP3 SERVER Pin
S Douglas31-May-06 7:40
professionalS Douglas31-May-06 7:40 
GeneralRe: POP3 SERVER Pin
#realJSOP31-May-06 8:18
mve#realJSOP31-May-06 8:18 

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.