Click here to Skip to main content
15,908,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a question about two CPU... Pin
liuty200618-Nov-02 17:57
liuty200618-Nov-02 17:57 
GeneralRe: a question about two CPU... Pin
Christian Graus18-Nov-02 18:01
protectorChristian Graus18-Nov-02 18:01 
Questiontrigger erase of background? Pin
Anonymous18-Nov-02 16:25
Anonymous18-Nov-02 16:25 
AnswerRe: trigger erase of background? Pin
Christian Graus18-Nov-02 16:36
protectorChristian Graus18-Nov-02 16:36 
GeneralRe: trigger erase of background? Pin
Anonymous18-Nov-02 16:47
Anonymous18-Nov-02 16:47 
GeneralRe: trigger erase of background? Pin
Christian Graus18-Nov-02 16:57
protectorChristian Graus18-Nov-02 16:57 
GeneralRe: trigger erase of background? Pin
Anonymous18-Nov-02 19:08
Anonymous18-Nov-02 19:08 
GeneralRe: trigger erase of background? Pin
Anonymous18-Nov-02 19:36
Anonymous18-Nov-02 19:36 
GeneralMDI: Not opening a new document on startup Pin
Le centriste18-Nov-02 16:15
Le centriste18-Nov-02 16:15 
GeneralRe: MDI: Not opening a new document on startup Pin
Dave Bryant18-Nov-02 17:28
Dave Bryant18-Nov-02 17:28 
GeneralRe: MDI: Not opening a new document on startup Pin
Le centriste19-Nov-02 16:27
Le centriste19-Nov-02 16:27 
Generalbrowser control Pin
Anonymous18-Nov-02 16:01
Anonymous18-Nov-02 16:01 
GeneralHelp with progress controls Pin
Steven M Hunt18-Nov-02 14:00
Steven M Hunt18-Nov-02 14:00 
GeneralRe: Help with progress controls Pin
Christian Graus18-Nov-02 14:33
protectorChristian Graus18-Nov-02 14:33 
GeneralRe: Help with progress controls Pin
Steven M Hunt18-Nov-02 15:15
Steven M Hunt18-Nov-02 15:15 
GeneralRe: Help with progress controls Pin
Christian Graus18-Nov-02 15:28
protectorChristian Graus18-Nov-02 15:28 
GeneralRe: Help with progress controls Pin
Jason Henderson18-Nov-02 17:59
Jason Henderson18-Nov-02 17:59 
Generalwant suggestion in MFC. Pin
User 988518-Nov-02 13:37
User 988518-Nov-02 13:37 
GeneralRe: want suggestion in MFC. Pin
Gary R. Wheeler18-Nov-02 15:16
Gary R. Wheeler18-Nov-02 15:16 
Thomas George wrote:
Also, is it advisable to use a timer for periodic refresh of the windows OR send a message from the other thread to the window, asking it to refresh because of a data change? What are the procedures that can be used to prevent excessive re-painting due to large amounts of data arriving in a short period?

Funny you should ask that question. I'm working on an app right now with this very problem. I've tried both approaches. Using the timer works, in that it updates the screen regularly. Using the timer doesn't work when you've got a lot of data coming in, because WM_TIMER messages are low priority. As a result, the WM_TIMER doesn't happen in a timely fashion, so the display doesn't update as often as you'd like. Sending a message every 'N' data items has similar problems, in that it updates the display too much under high data rates. Fortunately, I can set this part of the problem aside for awhile, and let the back part of my brain figure out a solution.

Good luck. Sorry I couldn't be of any real help.


Software Zen: delete this;
GeneralRe: want suggestion in MFC. Pin
Anonymous18-Nov-02 16:54
Anonymous18-Nov-02 16:54 
GeneralHelp: Performance Counter (PerfLib) 8-Byte Alignment Warning (Event ID 1016) Pin
Gaul18-Nov-02 13:32
Gaul18-Nov-02 13:32 
QuestionHow do you prevent font size change while scaling DC? Pin
Miguel Lopes18-Nov-02 13:13
Miguel Lopes18-Nov-02 13:13 
GeneralGUI Leaks Pin
Matthew R. Miller18-Nov-02 12:25
Matthew R. Miller18-Nov-02 12:25 
GeneralRe: GUI Leaks Pin
Christian Graus18-Nov-02 12:38
protectorChristian Graus18-Nov-02 12:38 
GeneralSaving a tree control Pin
Russell Thorburn18-Nov-02 11:23
sussRussell Thorburn18-Nov-02 11:23 

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.