How can I create MS Word 'print layout' like interface. The attached picture says it all. Basically I want a shaded area around my document just like word so it gives a feel of the 'page'.Name:  word_like_interface.jpg
Views: 1229
Size:  99.8 KB

I was hoping I can override some function somewhere and along that lines tried playing around with below but that didn't help.
Code:
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
    if( !CFrameWndEx::PreCreateWindow(cs) )
        return FALSE;
    // TODO: Modify the Window class or styles here by modifying
    //  the CREATESTRUCT cs


    cs.cx = 250; // just playing around with size 
    cs.cy = 250;




    return TRUE;
}
Any ideas how can I do that?