Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: anothere thread call UpdateAllViews() Pin
Neville Franks6-Nov-04 0:09
Neville Franks6-Nov-04 0:09 
GeneralRe: anothere thread call UpdateAllViews() Pin
LeeeNN8-Nov-04 6:29
LeeeNN8-Nov-04 6:29 
GeneralLinking In Help File Pin
Grahamfff5-Nov-04 10:45
Grahamfff5-Nov-04 10:45 
GeneralDeleting a character in a text file Pin
Nikhil Wason5-Nov-04 9:29
Nikhil Wason5-Nov-04 9:29 
GeneralRe: Deleting a character in a text file Pin
John R. Shaw5-Nov-04 9:50
John R. Shaw5-Nov-04 9:50 
Questioncan i find out free disk space on a computer on network??? Pin
venadder5-Nov-04 8:35
venadder5-Nov-04 8:35 
GeneralDrawing in a Dialog Pin
sir kaber5-Nov-04 7:47
sir kaber5-Nov-04 7:47 
GeneralRe: Drawing in a Dialog Pin
John R. Shaw5-Nov-04 9:30
John R. Shaw5-Nov-04 9:30 
You should do all your drawing int the OnPaint function. The OnTimer function should do as little as possible. For example you could set some flags when OnTimer is called and then invalidate the area (or whole dialog) that needs to be redrawn and let the OnPaint do its job.

In other words the OnTimer function should not be trying to draw any thing. If you draw anything outside of the OnPaint function it will be drawn over the next time OnPaint is called.

Good Luck!


INTP
GeneralRe: Drawing in a Dialog Pin
Anonymous5-Nov-04 11:36
Anonymous5-Nov-04 11:36 
GeneralRe: Drawing in a Dialog Pin
John R. Shaw5-Nov-04 12:34
John R. Shaw5-Nov-04 12:34 
GeneralListView_SortItems Pin
Anonymous5-Nov-04 7:03
Anonymous5-Nov-04 7:03 
General(help) Unicode and text files Pin
necroleak5-Nov-04 6:47
sussnecroleak5-Nov-04 6:47 
GeneralRe: (help) Unicode and text files Pin
peterchen5-Nov-04 23:56
peterchen5-Nov-04 23:56 
GeneralRemoving signature from a dll Pin
wrykyn5-Nov-04 6:03
wrykyn5-Nov-04 6:03 
GeneralOwner Drawn Button Pin
Timothy Grabrian5-Nov-04 5:47
professionalTimothy Grabrian5-Nov-04 5:47 
GeneralRe: Owner Drawn Button Pin
Antony M Kancidrowski5-Nov-04 6:12
Antony M Kancidrowski5-Nov-04 6:12 
GeneralRe: Owner Drawn Button Pin
Timothy Grabrian5-Nov-04 7:12
professionalTimothy Grabrian5-Nov-04 7:12 
GeneralRe: Owner Drawn Button Pin
John R. Shaw5-Nov-04 10:30
John R. Shaw5-Nov-04 10:30 
GeneralContext menu on system tray icon Pin
lillah5-Nov-04 4:31
lillah5-Nov-04 4:31 
GeneralRe: Context menu on system tray icon Pin
lillah6-Nov-04 5:28
lillah6-Nov-04 5:28 
GeneralRe: Context menu on system tray icon Pin
ThatsAlok6-Nov-04 18:12
ThatsAlok6-Nov-04 18:12 
GeneralRe: Context menu on system tray icon Pin
lillah8-Nov-04 6:13
lillah8-Nov-04 6:13 
GeneralAccessing main form from functions in other classes Pin
PaJamaMan815-Nov-04 3:56
PaJamaMan815-Nov-04 3:56 
GeneralRe: Accessing main form from functions in other classes Pin
RChin5-Nov-04 4:35
RChin5-Nov-04 4:35 
GeneralHelp me plase :: Math Class Pin
Anonymous5-Nov-04 3:49
Anonymous5-Nov-04 3:49 

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.