Click here to Skip to main content
15,892,965 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A Chinese blog about integrating MS Detours Library and Mhook library Pin
Jamming19-Dec-14 3:07
Jamming19-Dec-14 3:07 
QuestionIs there a way to move the right-most button of a CMFCToolbar to the right most position (of the rect) ? Pin
Maximilien8-Dec-14 4:38
Maximilien8-Dec-14 4:38 
AnswerRe: Is there a way to move the right-most button of a CMFCToolbar to the right most position (of the rect) ? Pin
Eugen Podsypalnikov12-Dec-14 1:28
Eugen Podsypalnikov12-Dec-14 1:28 
GeneralRe: Is there a way to move the right-most button of a CMFCToolbar to the right most position (of the rect) ? Pin
Maximilien12-Dec-14 3:20
Maximilien12-Dec-14 3:20 
QuestionMFC Grid Control does not show cells content Pin
georox6-Dec-14 2:37
georox6-Dec-14 2:37 
GeneralRe: MFC Grid Control does not show cells content Pin
SoMad6-Dec-14 14:53
professionalSoMad6-Dec-14 14:53 
QuestionPrint a long CString Pin
Gagnon Claude5-Dec-14 17:32
Gagnon Claude5-Dec-14 17:32 
AnswerRe: Print a long CString Pin
enhzflep5-Dec-14 20:26
enhzflep5-Dec-14 20:26 
From things you've said, I think you're talking about printing on paper instead of a screen.
There is indeed a process to follow when doing so, it involves telling the print sub-system that you've printed a page and wish to print another in the same print-job.

If indeed producing a hard-copy output is your aim, you may find the following of some use: Answer --> I want to print an image from a class library project without any gui.[^]

You can and should enumerate the available printers in your system and allow the user to choose from them. In this example, I've simply used the printer's name, as seen in Control Panel\Hardware and Sound\Devices and Printers in Win7.
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon

AnswerRe: Print a long CString Pin
Richard MacCutchan5-Dec-14 22:18
mveRichard MacCutchan5-Dec-14 22:18 
Questionadd file version to a new text file Pin
henryh5-Dec-14 4:58
henryh5-Dec-14 4:58 
AnswerRe: add file version to a new text file Pin
den2k885-Dec-14 5:12
professionalden2k885-Dec-14 5:12 
GeneralRe: add file version to a new text file Pin
henryh5-Dec-14 5:26
henryh5-Dec-14 5:26 
GeneralRe: add file version to a new text file Pin
Richard MacCutchan5-Dec-14 6:36
mveRichard MacCutchan5-Dec-14 6:36 
GeneralRe: add file version to a new text file Pin
henryh5-Dec-14 10:42
henryh5-Dec-14 10:42 
AnswerRe: add file version to a new text file Pin
Randor 5-Dec-14 6:03
professional Randor 5-Dec-14 6:03 
AnswerRe: add file version to a new text file Pin
Richard MacCutchan5-Dec-14 6:35
mveRichard MacCutchan5-Dec-14 6:35 
GeneralRe: add file version to a new text file Pin
Randor 5-Dec-14 6:48
professional Randor 5-Dec-14 6:48 
GeneralRe: add file version to a new text file Pin
Richard MacCutchan5-Dec-14 7:17
mveRichard MacCutchan5-Dec-14 7:17 
GeneralRe: add file version to a new text file Pin
henryh5-Dec-14 10:39
henryh5-Dec-14 10:39 
GeneralRe: add file version to a new text file Pin
Richard MacCutchan5-Dec-14 11:52
mveRichard MacCutchan5-Dec-14 11:52 
AnswerRe: add file version to a new text file Pin
David Crow8-Dec-14 3:49
David Crow8-Dec-14 3:49 
QuestionPrinting with a CString Pin
Gagnon Claude5-Dec-14 3:31
Gagnon Claude5-Dec-14 3:31 
AnswerRe: Printing with a CString Pin
jeron15-Dec-14 3:59
jeron15-Dec-14 3:59 
SuggestionRe: Printing with a CString Pin
Richard MacCutchan5-Dec-14 4:05
mveRichard MacCutchan5-Dec-14 4:05 
AnswerRe: Printing with a CString Pin
Randor 5-Dec-14 6:14
professional Randor 5-Dec-14 6:14 

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.