Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FTP - resume download Pin
Renjith Ramachandran24-Aug-02 0:04
Renjith Ramachandran24-Aug-02 0:04 
GeneralRe: FTP - resume download Pin
Mukkie24-Aug-02 0:33
Mukkie24-Aug-02 0:33 
GeneralRe: FTP - resume download Pin
Mukkie24-Aug-02 1:28
Mukkie24-Aug-02 1:28 
GeneralNewbie Books Needed for MFC Pin
BK Pradeep23-Aug-02 19:40
BK Pradeep23-Aug-02 19:40 
GeneralRe: Newbie Books Needed for MFC Pin
Mukkie24-Aug-02 1:22
Mukkie24-Aug-02 1:22 
GeneralRe: Newbie Books Needed for MFC Pin
valikac24-Aug-02 4:17
valikac24-Aug-02 4:17 
GeneralCView::OnBeginPrinting Pin
Anonymous23-Aug-02 17:06
Anonymous23-Aug-02 17:06 
GeneralRe: CView::OnBeginPrinting Pin
Mark Hills23-Aug-02 18:27
Mark Hills23-Aug-02 18:27 
OnBeginPrinting is only called once per print job. OnPrint is called for each page. You can calculate the number of pages in OnBeginPrinting, but you may want to look at doing it in OnPreparePrinting. OnPreparePrinting is called before OnBeginPrinting, and it is responsible for popping up the print dialog, so if you want the "To" number of pages to show up in the dialog you need to calculate it in OnPreparePrinting.

I'm not sure on the last point, so I'll let someone else take it. You can get info on all the method calls on the MSDN site under info for the CView class, at the MSDN MFC View documentation page.

Hope this helps. Smile | :)

Mark
GeneralSubclassing CTabCtrl Pin
alex.barylski23-Aug-02 15:32
alex.barylski23-Aug-02 15:32 
Generallist view question Pin
Steve L.23-Aug-02 14:36
Steve L.23-Aug-02 14:36 
GeneralRe: list view question Pin
alex.barylski23-Aug-02 15:25
alex.barylski23-Aug-02 15:25 
GeneralRe: list view question Pin
Steve L.23-Aug-02 16:41
Steve L.23-Aug-02 16:41 
QuestionPort Mapping or what? Pin
antoine@orchus-tech23-Aug-02 12:55
antoine@orchus-tech23-Aug-02 12:55 
AnswerRe: Port Mapping or what? Pin
JohnnyG23-Aug-02 14:15
JohnnyG23-Aug-02 14:15 
GeneralRe: Port Mapping or what? Pin
Anonymous23-Aug-02 14:45
Anonymous23-Aug-02 14:45 
GeneralRe: Port Mapping or what? Pin
JohnnyG23-Aug-02 16:57
JohnnyG23-Aug-02 16:57 
AnswerRe: Port Mapping or what? Pin
Nish Nishant23-Aug-02 18:06
sitebuilderNish Nishant23-Aug-02 18:06 
QuestionDrag & Drop into a CWindowImpl? Pin
clintsinger23-Aug-02 12:44
clintsinger23-Aug-02 12:44 
QuestionBug Tracking Software?? Pin
Jawache23-Aug-02 12:31
Jawache23-Aug-02 12:31 
AnswerRe: Bug Tracking Software?? Pin
Jiminy23-Aug-02 15:39
Jiminy23-Aug-02 15:39 
GeneralRe: Bug Tracking Software?? Pin
Jawache24-Aug-02 6:50
Jawache24-Aug-02 6:50 
QuestionCan Visual C++ MFC send a Text file to a Fax machine? Pin
Anonymous23-Aug-02 11:50
Anonymous23-Aug-02 11:50 
AnswerRe: Can Visual C++ MFC send a Text file to a Fax machine? Pin
Pavel Klocek23-Aug-02 13:47
Pavel Klocek23-Aug-02 13:47 
QuestionIs there a way to save bitmaps into the .rc file? Pin
JohnnyG23-Aug-02 10:53
JohnnyG23-Aug-02 10:53 
AnswerRe: Is there a way to save bitmaps into the .rc file? Pin
Shog923-Aug-02 11:53
sitebuilderShog923-Aug-02 11:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.