Click here to Skip to main content
15,917,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Capturing screen content behind an open window Pin
ryan218921-Nov-11 5:04
ryan218921-Nov-11 5:04 
QuestionSelLocale in C++ Pin
CliffRat17-Nov-11 7:44
CliffRat17-Nov-11 7:44 
AnswerRe: SelLocale in C++ Pin
Richard MacCutchan17-Nov-11 8:32
mveRichard MacCutchan17-Nov-11 8:32 
GeneralRe: SelLocale in C++ Pin
CliffRat17-Nov-11 10:23
CliffRat17-Nov-11 10:23 
AnswerRe: SelLocale in C++ Pin
Software_Developer18-Nov-11 5:06
Software_Developer18-Nov-11 5:06 
GeneralRe: SelLocale in C++ Pin
CliffRat22-Nov-11 16:01
CliffRat22-Nov-11 16:01 
AnswerRe: SelLocale in C++ Pin
jschell18-Nov-11 10:23
jschell18-Nov-11 10:23 
AnswerRe: SelLocale in C++ Pin
CliffRat5-Dec-11 6:00
CliffRat5-Dec-11 6:00 
QuestionDos FTP & Unix File Details Pin
TrickyDickyRg17-Nov-11 3:01
TrickyDickyRg17-Nov-11 3:01 
AnswerRe: Dos FTP & Unix File Details Pin
Code-o-mat17-Nov-11 5:41
Code-o-mat17-Nov-11 5:41 
GeneralRe: Dos FTP & Unix File Details Pin
TrickyDickyRg17-Nov-11 5:44
TrickyDickyRg17-Nov-11 5:44 
AnswerRe: Dos FTP & Unix File Details Pin
Randor 17-Nov-11 6:13
professional Randor 17-Nov-11 6:13 
QuestionCan we create multiple message maps in a Dialog? Pin
rahul.kulshreshtha17-Nov-11 1:27
rahul.kulshreshtha17-Nov-11 1:27 
AnswerRe: Can we create multiple message maps in a Dialog? Pin
Chris Meech17-Nov-11 2:51
Chris Meech17-Nov-11 2:51 
AnswerRe: Can we create multiple message maps in a Dialog? Pin
Chuck O'Toole17-Nov-11 3:02
Chuck O'Toole17-Nov-11 3:02 
AnswerRe: Can we create multiple message maps in a Dialog? Pin
Erudite_Eric17-Nov-11 3:57
Erudite_Eric17-Nov-11 3:57 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
Chuck O'Toole17-Nov-11 4:16
Chuck O'Toole17-Nov-11 4:16 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
Erudite_Eric17-Nov-11 4:21
Erudite_Eric17-Nov-11 4:21 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
rahul.kulshreshtha17-Nov-11 5:32
rahul.kulshreshtha17-Nov-11 5:32 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
Chris Meech17-Nov-11 5:39
Chris Meech17-Nov-11 5:39 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
rahul.kulshreshtha17-Nov-11 6:08
rahul.kulshreshtha17-Nov-11 6:08 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
Chuck O'Toole17-Nov-11 10:17
Chuck O'Toole17-Nov-11 10:17 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
Erudite_Eric17-Nov-11 7:28
Erudite_Eric17-Nov-11 7:28 
AnswerRe: Can we create multiple message maps in a Dialog? Pin
Chuck O'Toole17-Nov-11 10:12
Chuck O'Toole17-Nov-11 10:12 
AnswerRe: Can we create multiple message maps in a Dialog? Pin
Chuck O'Toole17-Nov-11 10:10
Chuck O'Toole17-Nov-11 10:10 
I was thinking about answering with some ideas but then I stopped. I need to know something more basic first.

If the output in the grid control is 80 rows and the user can scroll (you said that caused issues before) then my question has to do with the presentation of the data.

Where does "new data" show up in the grid? At the bottom? At the top?

How big is that control? 80 rows should take up quite a bit of vertical real estate.

What is the user scrolling through? By that I mean, when they scroll, are they looking to see older data? What happens to the newer data when the scroll causes it to be out of view?

I think that your idea to move the updates to the processing thread (or other) but not the GUI (using PostMessage()) is the right idea. It clearly has less overhead than clanking through the windows messaging system. Use the windows messages for things like redraw (Paint) or click events and not presenting new data. But the conflict with the user scrolling got me worrying about what the user is scrolling through. What is the users expectation of what they will see when scrolling through an application that continuiously presents new data? I think that's the area where you have to think about what it means and how you want to handle the responsiveness to scrolling.

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.