Click here to Skip to main content
15,917,565 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Save the DC. Pin
GauranG Shah31-Aug-07 18:21
GauranG Shah31-Aug-07 18:21 
GeneralRe: How to Save the DC. Pin
Hamid_RT31-Aug-07 19:17
Hamid_RT31-Aug-07 19:17 
AnswerRe: How to Save the DC. Pin
codeII31-Aug-07 4:19
codeII31-Aug-07 4:19 
GeneralRe: How to Save the DC. Pin
Hamid_RT31-Aug-07 4:22
Hamid_RT31-Aug-07 4:22 
QuestionHow to trace the mouse when it leave the window? Pin
Michael ZY31-Aug-07 3:10
Michael ZY31-Aug-07 3:10 
AnswerRe: How to trace the mouse when it leave the window? Pin
Roger Broomfield31-Aug-07 6:08
Roger Broomfield31-Aug-07 6:08 
AnswerRe: How to trace the mouse when it leave the window? Pin
Mark Salsbery31-Aug-07 6:27
Mark Salsbery31-Aug-07 6:27 
GeneralRe: How to trace the mouse when it leave the window? Pin
Michael ZY31-Aug-07 17:13
Michael ZY31-Aug-07 17:13 
I want hook the mouse to trace the mouse move track, so I can measure the mouse move distance on the screen. And in the hook, my App just want to filter the cursor' position from the "lParam" parameter.The problem is I can filter the cursor's position in any window with mouse move in its window's rect, but if I press a left/right button down in the window then keep the button hold and move the mouse out of this window, the mouse message will skip this hook which using WH_MOUSE.

So I use the WH_MOUSE_LL hook, every thing goes fine here, only slow the mouse when I click the min/max box on the window's title bar with mouse move quickly, if you are using WinXP turn on the visual style "animation the window when Maxminze or Minmize" and download sn app.zip from this address: "http://www.codeproject.com/useritems/MBtn2DblClickVC.asp" which hooked with WH_MOUSE_LL too, it will appear this problem also.

Could you give me some advise to solve this problem, using WH_MOUSE but how to capture the out window message, or using WH_MOUSE_LL but avoid slow the mouse move?

thanks. Smile | :)

GeneralRe: How to trace the mouse when it leave the window? Pin
ALVINHSIEH26-Feb-09 1:38
ALVINHSIEH26-Feb-09 1:38 
QuestionNaming your exe Pin
__yash__31-Aug-07 3:09
professional__yash__31-Aug-07 3:09 
AnswerRe: Naming your exe Pin
Chris Losinger31-Aug-07 3:16
professionalChris Losinger31-Aug-07 3:16 
AnswerRe: Naming your exe Pin
David Crow31-Aug-07 3:17
David Crow31-Aug-07 3:17 
AnswerRe: Naming your exe Pin
jhwurmbach31-Aug-07 3:21
jhwurmbach31-Aug-07 3:21 
GeneralRe: Naming your exe Pin
Russell'31-Aug-07 3:33
Russell'31-Aug-07 3:33 
GeneralRe: Naming your exe Pin
jhwurmbach31-Aug-07 3:37
jhwurmbach31-Aug-07 3:37 
GeneralRe: Naming your exe Pin
Russell'31-Aug-07 3:41
Russell'31-Aug-07 3:41 
GeneralRe: Naming your exe Pin
__yash__31-Aug-07 4:24
professional__yash__31-Aug-07 4:24 
GeneralRe: Naming your exe Pin
Russell'31-Aug-07 4:32
Russell'31-Aug-07 4:32 
GeneralRe: Naming your exe Pin
David Crow31-Aug-07 3:39
David Crow31-Aug-07 3:39 
GeneralRe: Naming your exe Pin
jhwurmbach31-Aug-07 3:45
jhwurmbach31-Aug-07 3:45 
GeneralRe: Naming your exe Pin
Russell'31-Aug-07 3:47
Russell'31-Aug-07 3:47 
GeneralRe: Naming your exe Pin
David Crow31-Aug-07 3:56
David Crow31-Aug-07 3:56 
GeneralRe: Naming your exe Pin
jhwurmbach31-Aug-07 4:02
jhwurmbach31-Aug-07 4:02 
GeneralRe: Naming your exe Pin
Russell'31-Aug-07 3:48
Russell'31-Aug-07 3:48 
AnswerRe: Naming your exe Pin
jhwurmbach31-Aug-07 3:38
jhwurmbach31-Aug-07 3:38 

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.