Click here to Skip to main content
15,920,648 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: operator overloading Pin
Kiran Pinjala9-May-07 3:38
Kiran Pinjala9-May-07 3:38 
GeneralRe: operator overloading Pin
Hans Dietrich9-May-07 4:04
mentorHans Dietrich9-May-07 4:04 
GeneralRe: operator overloading Pin
Kiran Pinjala9-May-07 4:06
Kiran Pinjala9-May-07 4:06 
QuestionDissasembler source code Pin
zon_cpp9-May-07 0:43
zon_cpp9-May-07 0:43 
AnswerRe: Dissasembler source code Pin
Hans Dietrich9-May-07 0:47
mentorHans Dietrich9-May-07 0:47 
GeneralRe: Dissasembler source code Pin
zon_cpp9-May-07 22:35
zon_cpp9-May-07 22:35 
QuestionHelp! Plot 3D real time. Pin
Aint9-May-07 0:17
Aint9-May-07 0:17 
AnswerRe: Help! Plot 3D real time. Pin
Hans Dietrich9-May-07 0:44
mentorHans Dietrich9-May-07 0:44 
QuestionHow to change size of DialogBox at run time? Pin
Atul238-May-07 23:47
Atul238-May-07 23:47 
AnswerRe: How to change size of DialogBox at run time? Pin
_AnsHUMAN_ 8-May-07 23:56
_AnsHUMAN_ 8-May-07 23:56 
GeneralRe: How to change size of DialogBox at run time? Pin
Atul239-May-07 2:01
Atul239-May-07 2:01 
AnswerRe: How to change size of DialogBox at run time? Pin
prasad_som9-May-07 2:15
prasad_som9-May-07 2:15 
AnswerRe: How to change size of DialogBox at run time? Pin
Nibu babu thomas9-May-07 0:48
Nibu babu thomas9-May-07 0:48 
AnswerRe: How to change size of DialogBox at run time? Pin
ThatsAlok16-May-07 20:36
ThatsAlok16-May-07 20:36 
Questionget the table name in a .mdb file Pin
hero19958-May-07 23:40
hero19958-May-07 23:40 
QuestionPrint a CString Pin
Epi8-May-07 23:16
Epi8-May-07 23:16 
Hello,

I have a CString in a CDialog and I want to print it in a Network printer.

I have been taking a look of the diffrent methods to do it but in all of them I have find problems,

For example:

1.-
filebuf fb( "prn:" ); // Filebuf object attached to "prn:"<br />
filebuf fb( "prn:" ); // Filebuf object attached to "prn:"<br />
cout = &fb; // fb associated with cout<br />
cout << "testing"; // Text goes to PRN: not stdout


Can only print to local printer.

2.- CView::OnPrint

I can't use it because I am using CDialog not Cview, CFormView.....

Fixing:

Does any way to print a CString using CPrintDialog?

Thanks in advance,

Best regards
AnswerRe: Print a CString Pin
Hans Dietrich9-May-07 0:39
mentorHans Dietrich9-May-07 0:39 
AnswerRe: Print a CString Pin
Hugo González Castro9-May-07 4:22
professionalHugo González Castro9-May-07 4:22 
GeneralRe: Print a CString Pin
Epi9-May-07 22:11
Epi9-May-07 22:11 
QuestionVC.net to VC6.0 Pin
vibindia8-May-07 22:42
vibindia8-May-07 22:42 
AnswerRe: VC.net to VC6.0 Pin
Atul238-May-07 23:50
Atul238-May-07 23:50 
AnswerRe: VC.net to VC6.0 Pin
David Crow9-May-07 2:44
David Crow9-May-07 2:44 
AnswerRe: VC.net to VC6.0 Pin
ThatsAlok16-May-07 20:35
ThatsAlok16-May-07 20:35 
QuestionUrgent Converting stuff Pin
imanos8-May-07 22:15
imanos8-May-07 22:15 
AnswerRe: Urgent Converting stuff Pin
_AnsHUMAN_ 8-May-07 22:16
_AnsHUMAN_ 8-May-07 22:16 

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.