Heck
2010-05-10 05:11:26 UTC
I understand the organization and mechanisms for establishing a
buffer, filling it with structured data and then sending it along,
whether to a device or merely to a program, for, say, display or
storage or for reinterpretation. The data has to be formatted or
delimited in accordance with the requirements of my target. Fine.
When I write an MFC app, let's say without resorting to CArchive and
serialization, I have data within a CDocument and CViews of various
sorts, targets for display and reinterpretation.
So, what do CViews want, in principle? The docs I've read seem to
want me to present the CView with all the data the window could
possibly show, so that a user has as complete an ability to examine
the data as he might ever want. Evidently I need to tell it how to
print the strings in its window. Giving it my buffer is not
sufficient. \n doesn't get me a newline.
Would someone please help me bridge the gap between the organization
and mechanisms of handling structured data and serving it up the way a
CView wants it?
Trying to learn a new trick, this old, cranky software developer is
getting very frustrated and irritated. Thanks.
buffer, filling it with structured data and then sending it along,
whether to a device or merely to a program, for, say, display or
storage or for reinterpretation. The data has to be formatted or
delimited in accordance with the requirements of my target. Fine.
When I write an MFC app, let's say without resorting to CArchive and
serialization, I have data within a CDocument and CViews of various
sorts, targets for display and reinterpretation.
So, what do CViews want, in principle? The docs I've read seem to
want me to present the CView with all the data the window could
possibly show, so that a user has as complete an ability to examine
the data as he might ever want. Evidently I need to tell it how to
print the strings in its window. Giving it my buffer is not
sufficient. \n doesn't get me a newline.
Would someone please help me bridge the gap between the organization
and mechanisms of handling structured data and serving it up the way a
CView wants it?
Trying to learn a new trick, this old, cranky software developer is
getting very frustrated and irritated. Thanks.