BOOL CMyFormView::PreCreateWindow(CREATESTRUCT& cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs // cs.style &=WS_EX_RIGHTSCROLLBAR |~WS_THICKFRAME; cs.style &=WS_VSCROLL|~WS_THICKFRAME; return CFormView::PreCreateWindow(cs); }void CMyFormView::OnInitialUpdate() { CFormView::OnInitialUpdate(); CSize sizeTotal(800, 2400);// CSize sizePage(sizeTotal.cx/2,sizeTotal.cy/2); //Because of MM_LOENGLISH, Sizes are in .01 of an inch SetScrollSizes(MM_LOENGLISH, sizeTotal); GetParentFrame()->RecalcLayout(); ResizeParentToFit();}
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
// cs.style &=WS_EX_RIGHTSCROLLBAR |~WS_THICKFRAME; cs.style &=WS_VSCROLL|~WS_THICKFRAME;
return CFormView::PreCreateWindow(cs);
}void CMyFormView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
CSize sizeTotal(800, 2400);// CSize sizePage(sizeTotal.cx/2,sizeTotal.cy/2);
//Because of MM_LOENGLISH, Sizes are in .01 of an inch
SetScrollSizes(MM_LOENGLISH, sizeTotal);
GetParentFrame()->RecalcLayout();
ResizeParentToFit();}