|
-
March 31st, 1999, 02:25 AM
#1
Documnet view architecture
Dear gurus, i want to know how to a variable stored in a document object from 2 or 3 views. I have 2 doc.templates with same document object but different view objects. p.s help me.
thank you
-
March 31st, 1999, 08:53 AM
#2
CView::GetDocument()?
Do you mean you want to access a document variable from the view class? Just use GetDocument()->m_myVariable.
-
April 1st, 1999, 12:06 AM
#3
Re: CView::GetDocument()?
+ GetActiveView() to get the view pointer which you're intrested in or functions to walk through all the views, till you find who the underlying view you're intrested in.(GetFirstViewPosition, GetNextView)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|