Click here to Skip to main content
15,889,315 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.
GeneralRe: Can we create multiple message maps in a Dialog? Pin
rahul.kulshreshtha17-Nov-11 17:50
rahul.kulshreshtha17-Nov-11 17:50 
AnswerRe: Can we create multiple message maps in a Dialog? Pin
Chuck O'Toole17-Nov-11 18:10
Chuck O'Toole17-Nov-11 18:10 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
Erudite_Eric17-Nov-11 21:10
Erudite_Eric17-Nov-11 21:10 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
Roger Allen18-Nov-11 4:02
Roger Allen18-Nov-11 4:02 
GeneralRe: Can we create multiple message maps in a Dialog? Pin
Erudite_Eric18-Nov-11 5:39
Erudite_Eric18-Nov-11 5:39 
QuestionPrevent an property page to close Pin
_Flaviu17-Nov-11 0:54
_Flaviu17-Nov-11 0:54 
AnswerRe: Prevent an property page to close Pin
Chuck O'Toole17-Nov-11 2:57
Chuck O'Toole17-Nov-11 2:57 
QuestionRe: Prevent an property page to close Pin
David Crow17-Nov-11 8:44
David Crow17-Nov-11 8:44 
AnswerRe: Prevent an property page to close Pin
_Flaviu17-Nov-11 21:11
_Flaviu17-Nov-11 21:11 
Questionvideo(Playing using directx) refreshing Problem Pin
VCProgrammer16-Nov-11 21:21
VCProgrammer16-Nov-11 21:21 
AnswerRe: video(Playing using directx) refreshing Problem Pin
Code-o-mat17-Nov-11 4:23
Code-o-mat17-Nov-11 4:23 
QuestionOverlapped IO sockets sending and receiving at the same time Pin
jtlancer16-Nov-11 9:36
jtlancer16-Nov-11 9:36 
AnswerRe: Overlapped IO sockets sending and receiving at the same time Pin
Richard Andrew x6416-Nov-11 10:19
professionalRichard Andrew x6416-Nov-11 10:19 
GeneralRe: Overlapped IO sockets sending and receiving at the same time Pin
jtlancer16-Nov-11 11:51
jtlancer16-Nov-11 11:51 
GeneralRe: Overlapped IO sockets sending and receiving at the same time Pin
Mark Salsbery16-Nov-11 12:14
Mark Salsbery16-Nov-11 12:14 
GeneralRe: Overlapped IO sockets sending and receiving at the same time Pin
Richard Andrew x6416-Nov-11 12:50
professionalRichard Andrew x6416-Nov-11 12:50 
QuestionCSimpleDate and Visual Studio 2010 Pin
xyloweb16-Nov-11 4:39
xyloweb16-Nov-11 4:39 

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.