Click here to Skip to main content
15,886,199 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 4:32
Erudite_Eric4-Feb-12 4:32 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
StefanKittel4-Feb-12 4:49
StefanKittel4-Feb-12 4:49 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
Erudite_Eric4-Feb-12 22:42
Erudite_Eric4-Feb-12 22:42 
GeneralRe: How to use DeviceIoControl to access an external USB device from MFC Pin
StefanKittel5-Feb-12 10:20
StefanKittel5-Feb-12 10:20 
SuggestionRe: How to use DeviceIoControl to access an external USB device from MFC Pin
David Crow5-Feb-12 17:02
David Crow5-Feb-12 17:02 
Question"InvalidateRect" leaves dirty on screen Pin
transoft3-Feb-12 3:59
transoft3-Feb-12 3:59 
AnswerRe: "InvalidateRect" leaves dirty on screen Pin
Richard MacCutchan3-Feb-12 4:02
mveRichard MacCutchan3-Feb-12 4:02 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
transoft3-Feb-12 4:11
transoft3-Feb-12 4: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 4:39
mveRichard MacCutchan3-Feb-12 4:39 
AnswerRe: "InvalidateRect" leaves dirty on screen Pin
Albert Holguin3-Feb-12 5:11
professionalAlbert Holguin3-Feb-12 5:11 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
transoft3-Feb-12 6:02
transoft3-Feb-12 6:02 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
SledgeHammer013-Feb-12 14:14
SledgeHammer013-Feb-12 14:14 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
transoft4-Feb-12 4:34
transoft4-Feb-12 4:34 
GeneralRe: "InvalidateRect" leaves dirty on screen PinPopular
SledgeHammer014-Feb-12 7:49
SledgeHammer014-Feb-12 7:49 
GeneralRe: "InvalidateRect" leaves dirty on screen Pin
MikeTHennessy7-Feb-12 12:10
MikeTHennessy7-Feb-12 12:10 
QuestionCAsynSocket connection problem Pin
ForNow2-Feb-12 16:03
ForNow2-Feb-12 16:03 
AnswerRe: CAsynSocket connection problem Pin
«_Superman_»2-Feb-12 18:07
professional«_Superman_»2-Feb-12 18:07 
GeneralRe: CAsynSocket connection problem Pin
ForNow2-Feb-12 18:49
ForNow2-Feb-12 18:49 
AnswerRe: CAsynSocket connection problem Pin
pyunwang2-Feb-12 19:00
pyunwang2-Feb-12 19:00 
GeneralRe: CAsynSocket connection problem Pin
ForNow2-Feb-12 19:59
ForNow2-Feb-12 19:59 
QuestionSimple Asymetric Encryption Pin
Bram van Kampen2-Feb-12 14:23
Bram van Kampen2-Feb-12 14:23 
AnswerRe: Simple Asymetric Encryption Pin
Chris Losinger5-Feb-12 5:07
professionalChris Losinger5-Feb-12 5:07 
QuestionHow to maintain an external C++ DLL developed with Literate Programming? Pin
Stefan_Lang2-Feb-12 4:59
Stefan_Lang2-Feb-12 4:59 
QuestionRe: How to maintain an external C++ DLL developed with Literate Programming? Pin
David Crow2-Feb-12 5:29
David Crow2-Feb-12 5:29 
AnswerRe: How to maintain an external C++ DLL developed with Literate Programming? Pin
Stefan_Lang2-Feb-12 6:10
Stefan_Lang2-Feb-12 6: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.