Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why does the statement completion does not always work? Pin
Christian Graus19-Jun-02 16:11
protectorChristian Graus19-Jun-02 16:11 
GeneralRe: Why does the statement completion does not always work? Pin
aldeba19-Jun-02 16:30
aldeba19-Jun-02 16:30 
QuestionHow can I print the Header column titles of the ListControl dialog Pin
19-Jun-02 15:00
suss19-Jun-02 15:00 
AnswerRe: How can I print the Header column titles of the ListControl dialog Pin
Shog919-Jun-02 18:20
sitebuilderShog919-Jun-02 18:20 
GeneralRe: It printed the same without Header Columns Pin
20-Jun-02 3:55
suss20-Jun-02 3:55 
GeneralRe: It printed the same without Header Columns Pin
Shog920-Jun-02 4:07
sitebuilderShog920-Jun-02 4:07 
GeneralRe: It printed the same without Header Columns Pin
20-Jun-02 4:30
suss20-Jun-02 4:30 
GeneralRe: It printed the same without Header Columns Pin
Shog920-Jun-02 6:30
sitebuilderShog920-Jun-02 6:30 
Replace all the print lines you have now with one that combines the flags:
{
    int oldMapMode = dc.SetMapMode(MM_ISOTROPIC);

    CSize ptOldWinOrg = dc.SetWindowOrg(-30, -30);      // XY LeftTop position
    CSize ptOldWinExt = dc.SetWindowExt(1, 1);
    CSize ptOldViewportExt = dc.SetViewportExt(4, 4);	          

    // print list ctrl
    m_report.Print(&dc, PRF_NONCLIENT|PRF_CLIENT|PRF_CHILDREN);
}


This will work. BTW: you may want to play with your size calculations a bit - the list prints fairly small...

--------

The real problem is that you don't have to be religious to be a religious fanatic,
you just have to be a fanatic.

-- Stan Shannon, the lounge


GeneralRegions Pin
Jay Beckert19-Jun-02 14:17
Jay Beckert19-Jun-02 14:17 
GeneralRe: Regions Pin
Shog919-Jun-02 18:11
sitebuilderShog919-Jun-02 18:11 
GeneralRe: Regions Pin
Jay Beckert20-Jun-02 15:05
Jay Beckert20-Jun-02 15:05 
GeneralRe: Regions Pin
Shog920-Jun-02 18:56
sitebuilderShog920-Jun-02 18:56 
GeneralRe: Regions Pin
Jay Beckert21-Jun-02 11:50
Jay Beckert21-Jun-02 11:50 
GeneralRe: Regions Pin
Jay Beckert22-Jun-02 5:36
Jay Beckert22-Jun-02 5:36 
GeneralRe: Regions Pin
Shog922-Jun-02 8:27
sitebuilderShog922-Jun-02 8:27 
GeneralHtmlHelp Pin
19-Jun-02 13:59
suss19-Jun-02 13:59 
GeneralRe: HtmlHelp Pin
Nish Nishant19-Jun-02 14:44
sitebuilderNish Nishant19-Jun-02 14:44 
GeneralRe: HtmlHelp Pin
19-Jun-02 15:12
suss19-Jun-02 15:12 
GeneralRe: HtmlHelp Pin
Ravi Bhavnani25-Jun-02 4:26
professionalRavi Bhavnani25-Jun-02 4:26 
GeneralMore Registry questions Pin
Selevercin19-Jun-02 13:24
Selevercin19-Jun-02 13:24 
GeneralRe: More Registry questions Pin
Nish Nishant19-Jun-02 13:29
sitebuilderNish Nishant19-Jun-02 13:29 
GeneralRe: More Registry questions Pin
Selevercin19-Jun-02 13:36
Selevercin19-Jun-02 13:36 
GeneralRe: More Registry questions Pin
Nish Nishant19-Jun-02 13:52
sitebuilderNish Nishant19-Jun-02 13:52 
GeneralRe: More Registry questions Pin
Michael Dunn19-Jun-02 19:06
sitebuilderMichael Dunn19-Jun-02 19:06 
GeneralRe: More Registry questions Pin
Nish Nishant19-Jun-02 19:40
sitebuilderNish Nishant19-Jun-02 19:40 

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.