Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralListview Control Pin
Anthony98877-Jun-02 9:20
Anthony98877-Jun-02 9:20 
GeneralRe: Listview Control Pin
Michael Dunn7-Jun-02 13:29
sitebuilderMichael Dunn7-Jun-02 13:29 
GeneralDocuments, Views, and DestroyWindow() Pin
dazinith7-Jun-02 8:49
dazinith7-Jun-02 8:49 
GeneralShockwave Flash Pin
syedhassan47-Jun-02 8:40
syedhassan47-Jun-02 8:40 
GeneralRe: Shockwave Flash Pin
dazinith7-Jun-02 9:00
dazinith7-Jun-02 9:00 
GeneralConvert WORD macro Pin
laphijia7-Jun-02 7:40
laphijia7-Jun-02 7:40 
GeneralRe: Convert WORD macro Pin
Paul M Watt7-Jun-02 20:08
mentorPaul M Watt7-Jun-02 20:08 
QuestionCan we print whatever on a ListBox? Pin
ATC7-Jun-02 6:24
ATC7-Jun-02 6:24 
Hi,

Let say we have a List Box dialog (Visual C++ 6.0 MFC), with text on it (Tabs, spacing, linefeed ...)

Is there any way in programming (simple) that we can print out as it is (text & screen proportional) & easy to see?

a) If I use: m_listbox.GetClientRect(Rect);
m_listbox.Print(&printer, PRF_CLIENT);
*) I got what I see, but the text size is very tiny

b)If I use: m_listbox.GetItemText(i, j, str, 10);
k= strlen(str);
dc.TextOut(350*j, l+(75*i), str, k);
*) The text size is OK, but the printer printout Tabs as "square" symbols ang resulting the print out looks badly (not in-lines)

---> Any one can help? I thought that Visual C++ MFC is a very powerful application, this is supposed to be a simple task (print out as it is)!

*) If anyone wants that I send the whole (but very simple) program to see & modify to make it works better ... I am please to send my zip file to anyone!!!

It is a desperate request, thanks in-advance!
Frown | :( Confused | :confused:

ATC
GeneralRegarding Timers Pin
arthivjii7-Jun-02 6:20
arthivjii7-Jun-02 6:20 
GeneralRe: Regarding Timers Pin
Nish Nishant7-Jun-02 6:22
sitebuilderNish Nishant7-Jun-02 6:22 
GeneralRe: Regarding Timers Pin
arthivjii7-Jun-02 6:40
arthivjii7-Jun-02 6:40 
GeneralRe: Regarding Timers Pin
Nish Nishant7-Jun-02 6:57
sitebuilderNish Nishant7-Jun-02 6:57 
Generalstatic text Pin
SnapRick7-Jun-02 5:45
SnapRick7-Jun-02 5:45 
GeneralRe: static text Pin
Nish Nishant7-Jun-02 5:55
sitebuilderNish Nishant7-Jun-02 5:55 
GeneralRe: static text Pin
Roger Allen7-Jun-02 6:14
Roger Allen7-Jun-02 6:14 
GeneralRe: static text Pin
Nish Nishant7-Jun-02 6:16
sitebuilderNish Nishant7-Jun-02 6:16 
Questiontoolbar inside taskbar? Pin
7-Jun-02 5:43
suss7-Jun-02 5:43 
Questiontwips conversion? Pin
BlackDogEngineering7-Jun-02 5:42
BlackDogEngineering7-Jun-02 5:42 
AnswerRe: twips conversion? Pin
Nish Nishant7-Jun-02 6:03
sitebuilderNish Nishant7-Jun-02 6:03 
GeneralVisible Property Pin
laphijia7-Jun-02 5:29
laphijia7-Jun-02 5:29 
GeneralRe: Visible Property Pin
Tomasz Sowinski7-Jun-02 5:24
Tomasz Sowinski7-Jun-02 5:24 
GeneralRe: Visible Property Pin
Rene De La Garza7-Jun-02 7:13
Rene De La Garza7-Jun-02 7:13 
Questionhow to execute an app on a remote machine? Pin
stefanb7-Jun-02 5:07
stefanb7-Jun-02 5:07 
AnswerRe: how to execute an app on a remote machine? Pin
Navin7-Jun-02 7:30
Navin7-Jun-02 7:30 
AnswerRe: how to execute an app on a remote machine? Pin
Mike Nordell7-Jun-02 23:45
Mike Nordell7-Jun-02 23:45 

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.