Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Page Setup?

0 views
Skip to first unread message

Mark Gregory

unread,
May 4, 1993, 9:10:44 PM5/4/93
to

Hi,
I have just started using the MFC 2.0 and
I would like to know what size is the document
set to by default when it is created.

How do you set the document to the size and orientation
of the printer? I know how to do it using the C method,
but I looked for a MFC way and found the there is a
function associated with a view called view::OnPrepareDC
which returns a pointer to a CPrintInfo object. This object
contains a variable for the effective page size.

If you use the old technique, of CreateIC, to get the page size
of a printer, will this confort to what the view thinks it is at
print time?

As the document is created before the view, can you set the document
size after the fact?

thank you


Mark Gregory Lecturer m.gr...@rmit.edu.au PH(03)6603243 FAX(03)6621060
Royal Melbourne Institute of Technology,
Department of Communication and Electronic Engineering,
P.O. Box 2476V, Melbourne, Victoria, 3001. AUSTRALIA.
--
Mark Gregory Lecturer m.gr...@rmit.edu.au PH(03)6603243 FAX(03)6621060
Royal Melbourne Institute of Technology,
Department of Communication and Electronic Engineering,
P.O. Box 2476V, Melbourne, Victoria, 3001. AUSTRALIA.

0 new messages