Click here to Skip to main content
15,901,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WinCE USB to Virtual Serial Port Pin
Cedric Moonen8-Nov-07 20:10
Cedric Moonen8-Nov-07 20:10 
QuestionBlue - General Purpose C++ Library Pin
aputic8-Nov-07 5:43
aputic8-Nov-07 5:43 
AnswerRe: Blue - General Purpose C++ Library Pin
toxcct8-Nov-07 5:55
toxcct8-Nov-07 5:55 
AnswerRe: Blue - General Purpose C++ Library Pin
Jim Crafton8-Nov-07 6:19
Jim Crafton8-Nov-07 6:19 
QuestionRe: Blue - General Purpose C++ Library Pin
Maximilien8-Nov-07 7:19
Maximilien8-Nov-07 7:19 
AnswerRe: Blue - General Purpose C++ Library Pin
aputic8-Nov-07 11:37
aputic8-Nov-07 11:37 
QuestionHelp on calling cview-draw from Onidle virtual function - qucik explaination please, please forgive me, I am a begginer Pin
simon alec smith8-Nov-07 4:33
simon alec smith8-Nov-07 4:33 
AnswerRe: Help on calling cview-draw from Onidle virtual function - qucik explaination please, please forgive me, I am a begginer Pin
jhwurmbach8-Nov-07 4:40
jhwurmbach8-Nov-07 4:40 
simon alec smith wrote:
also, each time the onidle function is called, I would like to update
a variable and invoke this when I do the drawing methods


The best way is to update your variable and if you need to redraw, then call Invalidate()

This way, a WM_PAINT-message is sent, and automagically MFC calls your OnDraw(). And there (and only there!) you draw on the screen.



Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

QuestionCArray problem Pin
StefanRMB8-Nov-07 4:01
StefanRMB8-Nov-07 4:01 
AnswerRe: CArray problem Pin
jhwurmbach8-Nov-07 4:14
jhwurmbach8-Nov-07 4:14 
AnswerRe: CArray problem Pin
David Crow8-Nov-07 5:30
David Crow8-Nov-07 5:30 
AnswerRe: CArray problem Pin
StefanRMB8-Nov-07 20:02
StefanRMB8-Nov-07 20:02 
GeneralRe: CArray problem Pin
BadKarma8-Nov-07 20:44
BadKarma8-Nov-07 20:44 
GeneralRe: CArray problem Pin
David Crow9-Nov-07 4:44
David Crow9-Nov-07 4:44 
AnswerRe: CArray problem Pin
Bram van Kampen10-Nov-07 15:37
Bram van Kampen10-Nov-07 15:37 
QuestionHow can i block a packet ? Pin
jomons8-Nov-07 2:52
jomons8-Nov-07 2:52 
AnswerRe: How can i block a packet ? Pin
Mark Salsbery8-Nov-07 5:21
Mark Salsbery8-Nov-07 5:21 
GeneralRe: How can i block a packet ? Pin
jomons9-Nov-07 20:35
jomons9-Nov-07 20:35 
Questionjump over Pin
youbo8-Nov-07 2:50
youbo8-Nov-07 2:50 
QuestionHuh? Pin
jhwurmbach8-Nov-07 3:04
jhwurmbach8-Nov-07 3:04 
AnswerRe: jump over Pin
toxcct8-Nov-07 3:27
toxcct8-Nov-07 3:27 
QuestionSchool Project Deadline Pin
skydivetom8-Nov-07 2:44
skydivetom8-Nov-07 2:44 
AnswerRe: School Project Deadline Pin
Maximilien8-Nov-07 3:36
Maximilien8-Nov-07 3:36 
QuestionRe: School Project Deadline Pin
David Crow8-Nov-07 3:41
David Crow8-Nov-07 3:41 
AnswerRe: School Project Deadline Pin
skydivetom8-Nov-07 5:34
skydivetom8-Nov-07 5:34 

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.