Click here to Skip to main content
15,916,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_INPUT' : undeclared identifier Pin
bob1697214-Sep-08 8:03
bob1697214-Sep-08 8:03 
AnswerRe: WM_INPUT' : undeclared identifier Pin
Hamid_RT13-Sep-08 21:42
Hamid_RT13-Sep-08 21:42 
QuestionNot able to see the WM_IMPUT in class wizard. Pin
hariakuthota13-Sep-08 5:36
hariakuthota13-Sep-08 5:36 
AnswerRe: Not able to see the WM_IMPUT in class wizard. Pin
bob1697213-Sep-08 6:15
bob1697213-Sep-08 6:15 
GeneralRe: Not able to see the WM_IMPUT in class wizard. Pin
hariakuthota13-Sep-08 6:35
hariakuthota13-Sep-08 6:35 
GeneralRe: Not able to see the WM_IMPUT in class wizard. Pin
bob1697214-Sep-08 7:51
bob1697214-Sep-08 7:51 
QuestionHow can i name of the external device connected to the system. Pin
hariakuthota13-Sep-08 5:34
hariakuthota13-Sep-08 5:34 
QuestionMouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
sdancer7513-Sep-08 5:26
sdancer7513-Sep-08 5:26 
Hi,

I made a simple SDI application with only 2 events. The OnMouseMove
and onLButtonDown. Either of these I wrote a simple TRACE output of their
XY coordinates as shown bellow :

CString str;
str.Format("onMouseMove X=%d Y=%d \n",point.x,point.y);
TRACE (str);

The strange thing is that, some times and not everytime, when I press the left mouse button (without any movement - I checked this many times) at a specific XY coordinates let's say at 100,100 the mouse get slightly moved 1 pixel to the right or to the left ie 99,100. So the onLButtonDown reports a different XY from that is supposed to be.

I know that someone can say that I might move the mouse cursor without knowing but that's not true. I checked this many times and I found it very annoying since I use this for checking 1-pixel thumb nails.

Is there any recommendation? I use VC9 and SDI. I did not tested this with VS6 or older version.

Regards,
George

sdancer75

AnswerRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
Mark Salsbery13-Sep-08 8:42
Mark Salsbery13-Sep-08 8:42 
GeneralRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
sdancer7514-Sep-08 21:11
sdancer7514-Sep-08 21:11 
GeneralRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
Mark Salsbery15-Sep-08 5:16
Mark Salsbery15-Sep-08 5:16 
GeneralRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
sdancer7515-Sep-08 21:35
sdancer7515-Sep-08 21:35 
QuestionEquation Solver Pin
Hadi Dayvary13-Sep-08 1:01
professionalHadi Dayvary13-Sep-08 1:01 
AnswerRe: Equation Solver Pin
CPallini13-Sep-08 1:08
mveCPallini13-Sep-08 1:08 
GeneralRe: Equation Solver Pin
Sauce!13-Sep-08 15:49
Sauce!13-Sep-08 15:49 
GeneralRe: Equation Solver Pin
CPallini13-Sep-08 20:58
mveCPallini13-Sep-08 20:58 
QuestionHeadings on Dialog box Pin
GPat2413-Sep-08 0:24
GPat2413-Sep-08 0:24 
AnswerRe: Headings on Dialog box Pin
CPallini13-Sep-08 0:48
mveCPallini13-Sep-08 0:48 
QuestionPlugins in MFC Pin
Le@rner12-Sep-08 23:58
Le@rner12-Sep-08 23:58 
AnswerRe: Plugins in MFC Pin
SandipG 13-Sep-08 0:07
SandipG 13-Sep-08 0:07 
AnswerRe: Plugins in MFC Pin
Hamid_RT13-Sep-08 21:54
Hamid_RT13-Sep-08 21:54 
GeneralRe: Plugins in MFC Pin
Le@rner14-Sep-08 18:11
Le@rner14-Sep-08 18:11 
GeneralRe: Plugins in MFC Pin
Hamid_RT15-Sep-08 1:53
Hamid_RT15-Sep-08 1:53 
GeneralRe: Plugins in MFC Pin
Le@rner15-Sep-08 1:56
Le@rner15-Sep-08 1:56 
GeneralRe: Plugins in MFC Pin
Hamid_RT15-Sep-08 2:04
Hamid_RT15-Sep-08 2:04 

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.