Click to See Complete Forum and Search --> : Documnet view architecture


arvindbushan
March 31st, 1999, 01:25 AM
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

Bore
March 31st, 1999, 07:53 AM
Do you mean you want to access a document variable from the view class? Just use GetDocument()->m_myVariable.

S Cheeran
March 31st, 1999, 11:06 PM
+ 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)