Re: Easy one: Communication in MDI



Josh,

there's already such a mechanism built-in - you might to start with reading
up on CDocument's UpdateAllViews.

Johan Rosengren
Abstrakt Mekanik AB

<darsant@xxxxxxxxx> skrev i meddelandet
news:1118852305.835599.192890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Ok, we've got an interface that has 5-6 child windows. The main window
> has a timer / slider control that determines what data the children
> show. Currently the Main form code is doing all the calculations. I
> want to move it to an easier to maintain object-interaction method.
>
> What's the best way to tell a child window to update the data? Is
> message posting the prefered method? (Just PostMessage to each child
> window when timer fires, and let the child decide whether or not to
> update?)
>
> Thanks,
> Josh McFarlane
>


.