Introduction - If you have any usage issues, please Google them yourself
RView::CRView()
{
// TODO: add construction code here
}
CRView::~CRView()
{
}
BOOL CRView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.style|=WS_CLIPSIBLINGS|WS_CLIPCHILDREN
return CView::PreCreateWindow(cs)
}
/////////////////////////////////////////////////////////////////////////////
// CRView drawing
void CRView::OnDraw(CDC* pDC)
{
CRDoc* pDoc = GetDocument()
ASSERT_VALID(pDoc)
// TODO: add draw code for native data here
}
/////////////////////////////////////////////////////////////////////////////
// CRView printing
BOOL CRView::OnPreparePrinting(CPrintInfo* pInfo)
{
// default preparation
return DoPreparePrinting(pInfo)
}
void CRView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add extra initialization before printing
}
void CRView::OnEndPrinting(CDC* /*