MS Word View->Print-Layout code?
-
If you look at MS Word, with a new blank document.. and then choose View->Print Layout menu.. Now, you'll see the white page on the brown/gray background.. on a 100% view I know that on normal circumstances in Doc/View architecture, the client area of CView entirely occupies the client area of the CCHildFrame.. Now with the Print-Layout View, Is it possible that the white page is drawn on the CView client area but it is NOT occupying the whole client area of CCHIldFrame so thats why we are seeing the background color of CChildFrame? Or is the white page and the background color are all drawn together in the client area of CView? Maverick "watch the birdie!..."
-
If you look at MS Word, with a new blank document.. and then choose View->Print Layout menu.. Now, you'll see the white page on the brown/gray background.. on a 100% view I know that on normal circumstances in Doc/View architecture, the client area of CView entirely occupies the client area of the CCHildFrame.. Now with the Print-Layout View, Is it possible that the white page is drawn on the CView client area but it is NOT occupying the whole client area of CCHIldFrame so thats why we are seeing the background color of CChildFrame? Or is the white page and the background color are all drawn together in the client area of CView? Maverick "watch the birdie!..."
I used Spy++ and using the window finder tool suggests that the 'white paper' that you see is a window that is not part of the background that the paper 'sits' on. I'd be surprised to learn that the MFC document/view classes are in use in Word. Chris Meech I am Canadian. [heard in a local bar] Remember that in Texas, Gun Control is hitting what you aim at. [Richard Stringer] Nice sig! [Tim Deveaux on Matt Newman's sig with a quote from me]
-
I used Spy++ and using the window finder tool suggests that the 'white paper' that you see is a window that is not part of the background that the paper 'sits' on. I'd be surprised to learn that the MFC document/view classes are in use in Word. Chris Meech I am Canadian. [heard in a local bar] Remember that in Texas, Gun Control is hitting what you aim at. [Richard Stringer] Nice sig! [Tim Deveaux on Matt Newman's sig with a quote from me]
-
Maverick wrote: so u're saying that Doc/View classes aren't used in Word? Maybe they use some Doc/View classes, but most likely not MFC's CDocument and CView -- jlr http://jlamas.blogspot.com/[^]