Click here to Skip to main content
16,011,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: PAUSE!!!!!!!!! Pin
Christian Graus18-Dec-02 13:43
protectorChristian Graus18-Dec-02 13:43 
GeneralTHREAD PROBLEM Pin
Sunnygirl18-Dec-02 12:03
Sunnygirl18-Dec-02 12:03 
GeneralRe: THREAD PROBLEM Pin
Nish Nishant18-Dec-02 12:13
sitebuilderNish Nishant18-Dec-02 12:13 
GeneralRe: THREAD PROBLEM Pin
Tim Smith18-Dec-02 12:16
Tim Smith18-Dec-02 12:16 
GeneralRe: THREAD PROBLEM Pin
Sunnygirl18-Dec-02 12:31
Sunnygirl18-Dec-02 12:31 
GeneralRe: THREAD PROBLEM Pin
Nish Nishant18-Dec-02 13:22
sitebuilderNish Nishant18-Dec-02 13:22 
GeneralRe: THREAD PROBLEM Pin
Sunnygirl18-Dec-02 12:57
Sunnygirl18-Dec-02 12:57 
GeneralView Printing Pin
act_x18-Dec-02 11:11
act_x18-Dec-02 11:11 
I am trying to Print contents of a CTreeCtrl . I implemented the Print Preview functionality in the OnPrint function . The printing that I require has a constraint.

Whatever i print must be contained within 1 page or else i need to abort printing . I am able to ascertain using pInfo and PDC whether I will be xceeding a page's length or not . I am also able to tell the user that he should change his settings to accomodate more data. What I am not able to do is prevent the Framework from printing a Blank page.
i.e I return immediately from OnPrint once I realize that the page size has been exceeded .

Also when I tried to use other functions before OnPrint such as
OnBeginPrinting() I am not able to get the true size of the page using pInfo. I am getting a garbled negative number when i Check pInfo->m_rectDraw.bottom

I have been trying to solve this for quite some time and would appreciate any suggestions .
Please help
thanks


GeneralCreate a Service Pin
Member 13661818-Dec-02 11:02
Member 13661818-Dec-02 11:02 
GeneralRe: Create a Service Pin
l a u r e n18-Dec-02 11:11
l a u r e n18-Dec-02 11:11 
GeneralRe: Create a Service Pin
Member 13661818-Dec-02 11:14
Member 13661818-Dec-02 11:14 
GeneralRe: Create a Service Pin
Nish Nishant18-Dec-02 11:14
sitebuilderNish Nishant18-Dec-02 11:14 
GeneralRe: Create a Service Pin
Anonymous18-Dec-02 17:15
Anonymous18-Dec-02 17:15 
GeneralRe: Create a Service Pin
Member 13661819-Dec-02 4:48
Member 13661819-Dec-02 4:48 
Generalself-upgrading program Pin
thisisnotfake18-Dec-02 10:53
thisisnotfake18-Dec-02 10:53 
GeneralTransparent the staticbox ?! Pin
Hadi Rezaee18-Dec-02 10:34
Hadi Rezaee18-Dec-02 10:34 
GeneralInheritance. Pin
WREY18-Dec-02 10:16
WREY18-Dec-02 10:16 
GeneralRe: Inheritance. Pin
Ravi Bhavnani18-Dec-02 10:23
professionalRavi Bhavnani18-Dec-02 10:23 
GeneralRe: Inheritance. Pin
WREY18-Dec-02 11:03
WREY18-Dec-02 11:03 
GeneralRe: Inheritance. Pin
Ravi Bhavnani18-Dec-02 11:23
professionalRavi Bhavnani18-Dec-02 11:23 
GeneralRe: Inheritance. Pin
WREY19-Dec-02 6:34
WREY19-Dec-02 6:34 
GeneralRe: Inheritance. Pin
Alvaro Mendez18-Dec-02 10:33
Alvaro Mendez18-Dec-02 10:33 
GeneralRe: Inheritance. Pin
WREY18-Dec-02 10:56
WREY18-Dec-02 10:56 
GeneralRe: Inheritance. Pin
Alvaro Mendez18-Dec-02 12:41
Alvaro Mendez18-Dec-02 12:41 
GeneralRe: Inheritance. Pin
WREY19-Dec-02 7:18
WREY19-Dec-02 7:18 

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.