Click here to Skip to main content
15,566,305 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
Erudite_Eric4-Feb-12 5:32
Erudite_Eric4-Feb-12 5:32 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
StefanKittel4-Feb-12 5:49
StefanKittel4-Feb-12 5:49 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
Erudite_Eric4-Feb-12 23:42
Erudite_Eric4-Feb-12 23:42 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
StefanKittel5-Feb-12 11:20
StefanKittel5-Feb-12 11:20 
SuggestionRe: How to use DeviceIoControl to access an external USB device from MFC Pin
David Crow5-Feb-12 18:02
David Crow5-Feb-12 18:02 
Question"InvalidateRect" leaves dirty on screen Pin
transoft3-Feb-12 4:59
transoft3-Feb-12 4:59 
AnswerRe: "InvalidateRect" leaves dirty on screen Pin
Richard MacCutchan3-Feb-12 5:02
mveRichard MacCutchan3-Feb-12 5:02 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
transoft3-Feb-12 5:11
transoft3-Feb-12 5:11 
Thank you for your reply.

I just used following code:

C++
InvalidateRect( rect, true );


Then I picked one drawing using mouse and drag it ( move it) to other place. when I move the drawing very slow (using mouse to move it slowly), it looks OK. But a little bit faster, there will be some dirty (some drawing not cleared) left on screen. Is there a way to avoid this?

Best,
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
Richard MacCutchan3-Feb-12 5:39
mveRichard MacCutchan3-Feb-12 5:39 
AnswerRe: "InvalidateRect" leaves dirty on screen Pin
Albert Holguin3-Feb-12 6:11
professionalAlbert Holguin3-Feb-12 6:11 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
transoft3-Feb-12 7:02
transoft3-Feb-12 7:02 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
SledgeHammer013-Feb-12 15:14
SledgeHammer013-Feb-12 15:14 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
transoft4-Feb-12 5:34
transoft4-Feb-12 5:34 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
SledgeHammer014-Feb-12 8:49
SledgeHammer014-Feb-12 8:49 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
MikeTHennessy7-Feb-12 13:10
MikeTHennessy7-Feb-12 13:10 
QuestionCAsynSocket connection problem Pin
ForNow2-Feb-12 17:03
ForNow2-Feb-12 17:03 
AnswerRe: CAsynSocket connection problem Pin
«_Superman_»2-Feb-12 19:07
professional«_Superman_»2-Feb-12 19:07 
GeneralRe: CAsynSocket connection problem Pin
ForNow2-Feb-12 19:49
ForNow2-Feb-12 19:49 
AnswerRe: CAsynSocket connection problem Pin
pyunwang2-Feb-12 20:00
pyunwang2-Feb-12 20:00 
GeneralRe: CAsynSocket connection problem Pin
ForNow2-Feb-12 20:59
ForNow2-Feb-12 20:59 
QuestionSimple Asymetric Encryption Pin
Bram van Kampen2-Feb-12 15:23
Bram van Kampen2-Feb-12 15:23 
AnswerRe: Simple Asymetric Encryption Pin
Chris Losinger5-Feb-12 6:07
professionalChris Losinger5-Feb-12 6:07 
QuestionHow to maintain an external C++ DLL developed with Literate Programming? Pin
Stefan_Lang2-Feb-12 5:59
mveStefan_Lang2-Feb-12 5:59 
QuestionRe: How to maintain an external C++ DLL developed with Literate Programming? Pin
David Crow2-Feb-12 6:29
David Crow2-Feb-12 6:29 
AnswerRe: How to maintain an external C++ DLL developed with Literate Programming? Pin
Stefan_Lang2-Feb-12 7:10
mveStefan_Lang2-Feb-12 7:10 

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.