Link to home
Start Free TrialLog in
Avatar of veronicas
veronicas

asked on

Transfer data from 1 view to another

I'm trying to load data into a buffer from 1 view and send to to a document, then to another view for editing.  WHat's the appropriate way to do so?

This is a split window application with 2 views.  Basically view 1 reads data from a file to a buffer.  I know how to send it to the document, but how can the document inform view 2 that there is new data to display?  View 2 is a richedit control, and I want to set the text with something like:

pRich->SetWindowText(buffer)

Thanks,  Veronica
ASKER CERTIFIED SOLUTION
Avatar of paulburns
paulburns

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of veronicas
veronicas

ASKER

Excellent!  You saved this newbie a lot of work!