Click here to Skip to main content
15,896,726 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTICKS PER MILLISECOND Pin
RKP7285-Aug-09 19:55
RKP7285-Aug-09 19:55 
AnswerRe: TICKS PER MILLISECOND Pin
Adam Roderick J5-Aug-09 20:16
Adam Roderick J5-Aug-09 20:16 
GeneralRe: TICKS PER MILLISECOND Pin
RKP7285-Aug-09 21:09
RKP7285-Aug-09 21:09 
GeneralRe: TICKS PER MILLISECOND Pin
Adam Roderick J5-Aug-09 22:14
Adam Roderick J5-Aug-09 22:14 
GeneralRe: TICKS PER MILLISECOND Pin
RKP7286-Aug-09 1:53
RKP7286-Aug-09 1:53 
Questionquery foxprodata base Pin
trioum5-Aug-09 19:49
trioum5-Aug-09 19:49 
QuestionRe: query foxprodata base Pin
David Crow6-Aug-09 4:20
David Crow6-Aug-09 4:20 
QuestionSendInput() and MOUSEINPUT Problems Pin
Madhu_Rani5-Aug-09 19:08
Madhu_Rani5-Aug-09 19:08 
INPUT myInput;
myInput.type = INPUT_MOUSE;

MOUSEINPUT mouseInput;
mouseInput.dwFlags = MOUSEEVENTF_MOVE|MOUSEEVENTF_ABSOLUTE;
mouseInput.dx = 0;
mouseInput.dy = 690;
mouseInput.mouseData = 0;
mouseInput.time = 0;
mouseInput.dwExtraInfo = NULL;
myInput.mi = mouseInput;

SendInput(1, &myInput, sizeof(INPUT));


PROBLEM 1: The mouse is moved at the upper-left corner while through this code, I am requesting Laugh | :laugh: him to move to BOTTOM-LEFT corner? Why this is not happening.


PROBLEM 2: I want to send event MOUSEEVENTF_RIGHTDOWN ( right button pressed at BOTTOM-LEFT), and request the system that please feel like as I click you at start button Frown | :( , but it is not accepting my command, I changed the flag to mouseInput.dwFlags=MOUSEEVENTF_RIGHTDOWN|MOUSEEVENTF_ABSOLUTE; So What is wrong ?
AnswerRe: SendInput() and MOUSEINPUT Problems Pin
Adam Roderick J5-Aug-09 19:47
Adam Roderick J5-Aug-09 19:47 
GeneralRe: SendInput() and MOUSEINPUT Problems Pin
Madhu_Rani5-Aug-09 19:55
Madhu_Rani5-Aug-09 19:55 
GeneralRe: SendInput() and MOUSEINPUT Problems Pin
Madhu_Rani5-Aug-09 20:22
Madhu_Rani5-Aug-09 20:22 
GeneralRe: SendInput() and MOUSEINPUT Problems Pin
Adam Roderick J5-Aug-09 20:53
Adam Roderick J5-Aug-09 20:53 
GeneralRe: SendInput() and MOUSEINPUT Problems Pin
Madhu_Rani5-Aug-09 21:24
Madhu_Rani5-Aug-09 21:24 
GeneralRe: SendInput() and MOUSEINPUT Problems Pin
Adam Roderick J5-Aug-09 21:57
Adam Roderick J5-Aug-09 21:57 
AnswerRe: SendInput() and MOUSEINPUT Problems Pin
David Crow6-Aug-09 4:36
David Crow6-Aug-09 4:36 
QuestionC++ Pin
Baeltazor5-Aug-09 18:36
Baeltazor5-Aug-09 18:36 
AnswerRe: C++ Pin
Code-o-mat5-Aug-09 21:18
Code-o-mat5-Aug-09 21:18 
Question(NULL == p) vs (p == NULL) Pin
fitatc5-Aug-09 16:04
fitatc5-Aug-09 16:04 
AnswerRe: (NULL == p) vs (p == NULL) Pin
hanq_389101305-Aug-09 16:31
hanq_389101305-Aug-09 16:31 
GeneralRe: (NULL == p) vs (p == NULL) Pin
Joe Woodbury5-Aug-09 16:47
professionalJoe Woodbury5-Aug-09 16:47 
GeneralRe: (NULL == p) vs (p == NULL) Pin
hanq_389101305-Aug-09 16:57
hanq_389101305-Aug-09 16:57 
GeneralRe: (NULL == p) vs (p == NULL) Pin
PIEBALDconsult5-Aug-09 17:05
mvePIEBALDconsult5-Aug-09 17:05 
AnswerRe: (NULL == p) vs (p == NULL) Pin
PIEBALDconsult5-Aug-09 17:10
mvePIEBALDconsult5-Aug-09 17:10 
AnswerRe: (NULL == p) vs (p == NULL) Pin
Chuck O'Toole5-Aug-09 21:37
Chuck O'Toole5-Aug-09 21:37 
AnswerRe: (NULL == p) vs (p == NULL) Pin
Adam Roderick J5-Aug-09 21:54
Adam Roderick J5-Aug-09 21:54 

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.