Click here to Skip to main content
16,004,761 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: newbie- what to override to close modeless dialog by right cross Pin
ns8-Jul-02 4:10
ns8-Jul-02 4:10 
GeneralFTP download Pin
Julie Kim7-Jul-02 6:37
Julie Kim7-Jul-02 6:37 
GeneralRe: FTP download Pin
generic_user_id7-Jul-02 11:14
generic_user_id7-Jul-02 11:14 
GeneralRe: FTP download Pin
[James Pullicino]7-Jul-02 22:09
[James Pullicino]7-Jul-02 22:09 
GeneralHELP!! Printing from a dialogbased Programm Pin
Lucky20027-Jul-02 6:00
Lucky20027-Jul-02 6:00 
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
PJ Arends7-Jul-02 6:26
professionalPJ Arends7-Jul-02 6:26 
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
Lucky20027-Jul-02 9:52
Lucky20027-Jul-02 9:52 
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
PJ Arends7-Jul-02 10:30
professionalPJ Arends7-Jul-02 10:30 
For very simple printing, you can leave the OnBeginPrinting() and OnEndPrinting() functions blank. You can do all your printing in OnPrint().

Simply use CListBox::GetText() to get the strings from the listbox, and CDC::DrawText() to print the strings onto the printer. Just be sure to update the rectangle that DrawText() uses so that you do not print all the strings on top of each other. The CPrintInfo::m_rectDraw variable contains the coordinates of the printable portions of the page.

---
CPUA 0x5041

Sonork 100.11743 Chicken Little

Within you lies the power for good - Use it!
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
Lucky20028-Jul-02 8:36
Lucky20028-Jul-02 8:36 
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
PJ Arends8-Jul-02 9:20
professionalPJ Arends8-Jul-02 9:20 
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
Lucky20029-Jul-02 0:34
Lucky20029-Jul-02 0:34 
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
PJ Arends9-Jul-02 9:52
professionalPJ Arends9-Jul-02 9:52 
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
Lucky20029-Jul-02 10:42
Lucky20029-Jul-02 10:42 
GeneralRe: HELP!! Printing from a dialogbased Programm Pin
Mike Nordell7-Jul-02 10:47
Mike Nordell7-Jul-02 10:47 
GeneralAbout one error message Pin
chen7-Jul-02 5:37
chen7-Jul-02 5:37 
GeneralRe: About one error message Pin
PJ Arends7-Jul-02 6:50
professionalPJ Arends7-Jul-02 6:50 
GeneralRe: About one error message Pin
Chris Losinger7-Jul-02 6:51
professionalChris Losinger7-Jul-02 6:51 
GeneralTT font from file Pin
CaesarCZ7-Jul-02 4:56
CaesarCZ7-Jul-02 4:56 
GeneralRe: TT font from file Pin
Chris Losinger7-Jul-02 6:48
professionalChris Losinger7-Jul-02 6:48 
GeneralPDF format Pin
ivex7-Jul-02 1:02
ivex7-Jul-02 1:02 
GeneralRe: PDF format Pin
Venet7-Jul-02 3:42
Venet7-Jul-02 3:42 
GeneralRe: PDF format Pin
8-Jul-02 17:09
suss8-Jul-02 17:09 
GeneralHide icon on taskbar Pin
overflow6-Jul-02 22:06
overflow6-Jul-02 22:06 
GeneralRe: Hide icon on taskbar Pin
Rickard Andersson206-Jul-02 23:50
Rickard Andersson206-Jul-02 23:50 
GeneralRe: Hide icon on taskbar Pin
lwglucky7-Jul-02 3:43
lwglucky7-Jul-02 3:43 

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.