Click here to Skip to main content
15,891,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDirectx small question Pin
nirishere24-Aug-09 13:41
nirishere24-Aug-09 13:41 
AnswerRe: Directx small question Pin
Code-o-mat24-Aug-09 21:51
Code-o-mat24-Aug-09 21:51 
GeneralRe: Directx small question Pin
nirishere25-Aug-09 0:00
nirishere25-Aug-09 0:00 
GeneralRe: Directx small question Pin
Code-o-mat25-Aug-09 0:13
Code-o-mat25-Aug-09 0:13 
GeneralRe: Directx small question Pin
nirishere25-Aug-09 0:45
nirishere25-Aug-09 0:45 
GeneralRe: Directx small question Pin
Code-o-mat25-Aug-09 0:56
Code-o-mat25-Aug-09 0:56 
GeneralRe: Directx small question Pin
nirishere25-Aug-09 1:54
nirishere25-Aug-09 1:54 
QuestionHow to get the cursor position? Pin
Orchus24-Aug-09 8:01
Orchus24-Aug-09 8:01 
Hi,

In a nutshell: I need to display the location of the cursor when I click somewhere in the Windows Calculator window (or any other app beside my own).

I need to get the cursor position on the click event (WM_LBUTTONDOWN) when the click occurs in another window. In my test I am using calculator. I display with GetMessagePos or GetCursorPos the coordinates in 2 textboxes under the mouse move but whenever it goes beyond my app window, of course, my app message loop stop receiving those mouse move events.

This is in a barebone win32 no MFC app.

Thanks!!!

Antoine
AnswerRe: How to get the cursor position? Pin
Rajesh R Subramanian24-Aug-09 8:10
professionalRajesh R Subramanian24-Aug-09 8:10 
QuestionRe: How to get the cursor position? Pin
David Crow24-Aug-09 10:24
David Crow24-Aug-09 10:24 
AnswerRe: How to get the cursor position? Pin
Orchus25-Aug-09 3:03
Orchus25-Aug-09 3:03 
GeneralRe: How to get the cursor position? Pin
David Crow25-Aug-09 3:06
David Crow25-Aug-09 3:06 
GeneralRe: How to get the cursor position? Pin
Orchus25-Aug-09 6:29
Orchus25-Aug-09 6:29 
QuestionRe: How to get the cursor position? Pin
David Crow25-Aug-09 6:40
David Crow25-Aug-09 6:40 
AnswerRe: How to get the cursor position? Pin
Orchus25-Aug-09 10:03
Orchus25-Aug-09 10:03 
QuestionIs there a way to force VisualStudio to launch app to debug in non-admin mode on Vista? Pin
WayneS24-Aug-09 7:41
WayneS24-Aug-09 7:41 
QuestionHow to select files in windows shell view Pin
emmmatty124-Aug-09 6:25
emmmatty124-Aug-09 6:25 
Questionblack full-screen snapshot in win vista/7 Pin
NaNg1524124-Aug-09 5:04
NaNg1524124-Aug-09 5:04 
QuestionRe: black full-screen snapshot in win vista/7 Pin
NaNg1524126-Aug-09 19:41
NaNg1524126-Aug-09 19:41 
QuestionDialog with custom control won't work with satellite DLL Pin
Per G24-Aug-09 1:15
Per G24-Aug-09 1:15 
AnswerRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat24-Aug-09 1:45
Code-o-mat24-Aug-09 1:45 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Per G24-Aug-09 22:59
Per G24-Aug-09 22:59 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat24-Aug-09 23:15
Code-o-mat24-Aug-09 23:15 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Per G24-Aug-09 23:23
Per G24-Aug-09 23:23 
GeneralRe: Dialog with custom control won't work with satellite DLL Pin
Code-o-mat24-Aug-09 23:32
Code-o-mat24-Aug-09 23: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.