Click here to Skip to main content
16,005,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Memory DC in OnMouseMove, still blink Pin
KarstenK29-Nov-07 4:21
mveKarstenK29-Nov-07 4:21 
JokeRe: Memory DC in OnMouseMove, still blink Pin
Nelek29-Nov-07 4:27
protectorNelek29-Nov-07 4:27 
QuestionRe: Memory DC in OnMouseMove, still blink Pin
followait29-Nov-07 4:44
followait29-Nov-07 4:44 
AnswerRe: Memory DC in OnMouseMove, still blink Pin
led mike29-Nov-07 5:01
led mike29-Nov-07 5:01 
GeneralRe: Memory DC in OnMouseMove, still blink Pin
followait29-Nov-07 5:34
followait29-Nov-07 5:34 
GeneralRe: Memory DC in OnMouseMove, still blink Pin
Cedric Moonen29-Nov-07 8:26
Cedric Moonen29-Nov-07 8:26 
AnswerRe: Memory DC in OnMouseMove, still blink Pin
Nelek29-Nov-07 23:43
protectorNelek29-Nov-07 23:43 
AnswerRe: Memory DC in OnMouseMove, still blink Pin
Nelek29-Nov-07 4:25
protectorNelek29-Nov-07 4:25 
The screen is erased before being repainted (at least in the most of the cases). If you are calling UpdateWindow (), pDoc->UpdateAllViews (), OnPaint (), OnDraw () or whatever other function that causes a screen update when you move the mouse...

I find totally logical that the screen blink. The computer must delete and repaint all the screen for every and every detected move of the mouse.

if you want to avoid it... just update a little region around the cursor, and dont the whole client area.

Greetings.

--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

AnswerMore: Memory DC in OnMouseMove, still blink Pin
followait29-Nov-07 4:51
followait29-Nov-07 4:51 
AnswerRe: Memory DC in OnMouseMove, still blink Pin
Mike Dimmick29-Nov-07 6:17
Mike Dimmick29-Nov-07 6:17 
QuestionAccessing USB-device: How to determine lpFileName in CreateFile call Pin
arnold_w29-Nov-07 3:28
arnold_w29-Nov-07 3:28 
AnswerRe: Accessing USB-device: How to determine lpFileName in CreateFile call Pin
Cedric Moonen29-Nov-07 3:32
Cedric Moonen29-Nov-07 3:32 
GeneralRe: Accessing USB-device: How to determine lpFileName in CreateFile call Pin
arnold_w29-Nov-07 3:36
arnold_w29-Nov-07 3:36 
GeneralRe: Accessing USB-device: How to determine lpFileName in CreateFile call Pin
Randor 29-Nov-07 3:57
professional Randor 29-Nov-07 3:57 
GeneralRe: Accessing USB-device: How to determine lpFileName in CreateFile call Pin
arnold_w29-Nov-07 21:46
arnold_w29-Nov-07 21:46 
GeneralRe: Accessing USB-device: How to determine lpFileName in CreateFile call Pin
arnold_w5-Dec-07 1:45
arnold_w5-Dec-07 1:45 
QuestionC++ Month Function Pin
sidkraft29-Nov-07 3:11
sidkraft29-Nov-07 3:11 
AnswerRe: C++ Month Function Pin
Maximilien29-Nov-07 3:42
Maximilien29-Nov-07 3:42 
AnswerRe: C++ Month Function Pin
David Crow29-Nov-07 3:42
David Crow29-Nov-07 3:42 
QuestionIdentifying Windows Messages? Pin
narayanagvs29-Nov-07 2:31
narayanagvs29-Nov-07 2:31 
AnswerRe: Identifying Windows Messages? Pin
KarstenK29-Nov-07 4:24
mveKarstenK29-Nov-07 4:24 
QuestionWindows service and child processes Pin
vikramlinux29-Nov-07 2:16
vikramlinux29-Nov-07 2:16 
AnswerRe: Windows service and child processes Pin
Nemanja Trifunovic29-Nov-07 2:29
Nemanja Trifunovic29-Nov-07 2:29 
GeneralRe: Windows service and child processes Pin
vikramlinux29-Nov-07 2:37
vikramlinux29-Nov-07 2:37 
QuestionSorting Unicode CStrings correctly Pin
petermcwerner29-Nov-07 2:01
petermcwerner29-Nov-07 2:01 

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.