Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Saving a tree control Pin
Joaquín M López Muñoz18-Nov-02 11:30
Joaquín M López Muñoz18-Nov-02 11:30 
GeneralDirectX problem Pin
Selevercin18-Nov-02 11:19
Selevercin18-Nov-02 11:19 
GeneralRe: DirectX problem Pin
Paul M Watt18-Nov-02 13:29
mentorPaul M Watt18-Nov-02 13:29 
GeneralSubtle bug with static members... Pin
Jamie Hale18-Nov-02 10:54
Jamie Hale18-Nov-02 10:54 
GeneralRe: Subtle bug with static members... Pin
Christian Graus18-Nov-02 11:05
protectorChristian Graus18-Nov-02 11:05 
GeneralRe: Subtle bug with static members... Pin
Jamie Hale18-Nov-02 11:10
Jamie Hale18-Nov-02 11:10 
GeneralRe: Subtle bug with static members... Pin
Christian Graus19-Nov-02 10:08
protectorChristian Graus19-Nov-02 10:08 
GeneralRe: Subtle bug with static members... Pin
Jamie Hale18-Nov-02 11:05
Jamie Hale18-Nov-02 11:05 
GeneralRe: Subtle bug with static members... [corrected] Pin
Joaquín M López Muñoz18-Nov-02 11:06
Joaquín M López Muñoz18-Nov-02 11:06 
GeneralRe: Subtle bug with static members... [corrected] Pin
Jamie Hale18-Nov-02 11:11
Jamie Hale18-Nov-02 11:11 
GeneralRe: Subtle bug with static members... [corrected] Pin
Joaquín M López Muñoz18-Nov-02 11:19
Joaquín M López Muñoz18-Nov-02 11:19 

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.