Cffung 2008-05-19 21:11:38
I am working on an MDI Splitter application and encountering some
access problem. Hope somebody can help.
I have a CView (called CGraphView) and CFormView (called CTextView)
data in graphic and text formats, respectively, in the upper and lower
a splitter frame (called CSplitFrame). A button (called
CFormView is meant to print what is displayed in the CView.
My question is:
How do I access the (over-rided) OnPreparePrint() function from my
Jiangsheng[mic 2008-05-19 21:12:09
try to access it by shared documents and custom update hints.
use CDocument::UpdateAllViews and override CView::OnUpdate to communicate
between document and views.