How to access from one view to another in MDI?
I am working on an MDI Splitter application and encountering some
view-to-view
access problem. Hope somebody can help.
I have a CView (called CGraphView) and CFormView (called CTextView)
displaying
data in graphic and text formats, respectively, in the upper and lower
pane of
a splitter frame (called CSplitFrame). A button (called
IDC_PRINTGRAPH_BTN) on
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
IDC_PRINTGRAPH_BTN?
|