Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC classes in my class Pin
pie26-Apr-04 6:50
pie26-Apr-04 6:50 
GeneralRe: MFC classes in my class Pin
David Crow26-Apr-04 7:03
David Crow26-Apr-04 7:03 
GeneralRe: MFC classes in my class Pin
pie26-Apr-04 7:05
pie26-Apr-04 7:05 
GeneralRe: MFC classes in my class Pin
Navin26-Apr-04 6:57
Navin26-Apr-04 6:57 
GeneralRe: MFC classes in my class Pin
Paul Ranson26-Apr-04 8:11
Paul Ranson26-Apr-04 8:11 
GeneralRe: MFC classes in my class Pin
pie26-Apr-04 8:18
pie26-Apr-04 8:18 
GeneralRe: MFC classes in my class Pin
Nemanja Trifunovic26-Apr-04 8:25
Nemanja Trifunovic26-Apr-04 8:25 
GeneralPrinting problem Pin
Acetate26-Apr-04 6:22
Acetate26-Apr-04 6:22 
Hi all,
I'm having what I consider to be an inexplicable problem printing in my program. I've searched message boards, google, etc.. for the past week and no dice. I have two different "reports" that are displayed in the main window of my SDI app and should be printable. All of the drawing code is contained in OnDraw(), and the program draws the appropriate report based on flags set by button presses. Both reports display fine in Print Preview, but only one will actually print. When i print the other, the printer just spits out a blank page. I've replaced the drawing code in the function to simply display a rectangle in the center of the view for testing, but it still displays fine in print preview, but wont print. The report that is displayed by default is the one that prints okay, so i'm wondering if I need to re-initialize the CDC between prints or something along those lines. Thanks for reading this far, and thanks for any help you can provide.
GeneralRe: Printing problem Pin
David Crow26-Apr-04 6:29
David Crow26-Apr-04 6:29 
GeneralRe: Printing problem Pin
Acetate26-Apr-04 6:43
Acetate26-Apr-04 6:43 
GeneralRe: Printing problem Pin
David Crow26-Apr-04 6:53
David Crow26-Apr-04 6:53 
GeneralRe: Printing problem Pin
CodeBrain26-Apr-04 21:01
CodeBrain26-Apr-04 21:01 
GeneralRe: Printing problem Pin
Acetate27-Apr-04 3:41
Acetate27-Apr-04 3:41 
GeneralRe: Printing problem Pin
CodeBrain2-May-04 1:36
CodeBrain2-May-04 1:36 
QuestionEasy encryption way in windows? Pin
richard sancenot26-Apr-04 5:56
richard sancenot26-Apr-04 5:56 
AnswerRe: Easy encryption way in windows? Pin
jmkhael26-Apr-04 6:13
jmkhael26-Apr-04 6:13 
GeneralMFC : Dialog App stoping without reason !! Pin
haust26-Apr-04 5:44
haust26-Apr-04 5:44 
GeneralRe: MFC : Dialog App stoping without reason !! Pin
toxcct26-Apr-04 5:49
toxcct26-Apr-04 5:49 
GeneralRe: MFC : Dialog App stoping without reason !! Pin
haust26-Apr-04 7:16
haust26-Apr-04 7:16 
GeneralRe: MFC : Dialog App stoping without reason !! Pin
Prakash Nadar26-Apr-04 6:07
Prakash Nadar26-Apr-04 6:07 
GeneralRe: MFC : Dialog App stoping without reason !! Pin
haust26-Apr-04 7:19
haust26-Apr-04 7:19 
GeneralRe: MFC : Dialog App stoping without reason !! Pin
toxcct26-Apr-04 7:32
toxcct26-Apr-04 7:32 
GeneralRe: MFC : Dialog App stoping without reason !! Pin
Prakash Nadar26-Apr-04 7:40
Prakash Nadar26-Apr-04 7:40 
GeneralRe: MFC : Dialog App stoping without reason !! Pin
haust27-Apr-04 11:28
haust27-Apr-04 11:28 
GeneralRe: MFC : Dialog App stoping without reason !! Pin
Prakash Nadar28-Apr-04 17:37
Prakash Nadar28-Apr-04 17:37 

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.