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

C / C++ / MFC

 
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 
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 
Hello!

Thank you very much, it works! Rose | [Rose] Rose | [Rose] Rose | [Rose]

Now I have the next Problem: Confused | :confused:
Only the first CString is printed, but I want to print the whole content of the ListBox.
First I made a for statement:

CString test;
int anz=m_ctrlListe.GetCount();
for(int i=0;i<anz;i++)
{
this-="">m_ctrlListe.GetText(i,test);
CRect g( 750,750,pInfo->m_rectDraw.right,pInfo->m_rectDraw.bottom);
pDC->DrawText(test,g ,DT_LEFT || DT_TOP );
}

It is logical, that only the last entry is printed.
How must I update the CRect to print the whole content of the ListBox.

Thank you very much!

Have a nice day.

Lucky 2002
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 
Generalusing OpenClipboard() right after keybd_event Pin
Otyug6-Jul-02 21:05
Otyug6-Jul-02 21:05 
GeneralSet new Password in existing Dao Database's Pin
6-Jul-02 20:16
suss6-Jul-02 20:16 
GeneralRe: Set new Password in existing Dao Database's Pin
7-Jul-02 15:44
suss7-Jul-02 15:44 

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.