Click here to Skip to main content
16,006,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do you make a physical copy of a file through CFile class? Pin
Tomasz Sowinski23-Aug-01 4:13
Tomasz Sowinski23-Aug-01 4:13 
GeneralRe: How do you make a physical copy of a file through CFile class? Pin
tm23-Aug-01 6:44
tm23-Aug-01 6:44 
GeneralRe: CListCtrl Pin
Tomasz Sowinski23-Aug-01 3:59
Tomasz Sowinski23-Aug-01 3:59 
GeneralURGENT !!!!!!!! AddPage in PropertySheet Pin
Natacha S.23-Aug-01 3:18
Natacha S.23-Aug-01 3:18 
GeneralFormatting in messagebox Pin
Jimmy Ehrnström23-Aug-01 1:44
Jimmy Ehrnström23-Aug-01 1:44 
GeneralRe: Formatting in messagebox Pin
KingsGambit23-Aug-01 2:33
KingsGambit23-Aug-01 2:33 
GeneralRe: Formatting in messagebox Pin
Tomasz Sowinski23-Aug-01 2:35
Tomasz Sowinski23-Aug-01 2:35 
GeneralRe: Formatting in messagebox Pin
Jimmy Ehrnström23-Aug-01 3:22
Jimmy Ehrnström23-Aug-01 3:22 
Thanks for your answers. I'm afraid I was a bit unclear though. What I would like is to specify the desired width of my messagebox and then the program should take care of word-wrapping for me.

I guess you thought I wanted to line up data in columns. When I read my first post again I can see that I was a bit vague about what I was looking for.

So, let's say I have a string like this:

"This is a long string that's supposed to be in a messagebox. It contains some values of unspecified length, for example 1.23456789 and John Doe"

Then it would be nice to just tell my messagebox that this string should be divided over several lines where no line would be more than say 40 characters, or 400 pixels, or something like that.

Is there any support for this in MFC, or would I have to write my own messagebox class? Or a new string class? It probably wouldn't be very difficult, but I'm not sure it would be worth it. Well except for the fun of it. Smile | :)
GeneralRe: Formatting in messagebox Pin
Tomasz Sowinski23-Aug-01 3:30
Tomasz Sowinski23-Aug-01 3:30 
GeneralRe: Formatting in messagebox Pin
Jimmy Ehrnström23-Aug-01 3:36
Jimmy Ehrnström23-Aug-01 3:36 
GeneralConst Char * etc Pin
Ray Kinsella23-Aug-01 0:04
Ray Kinsella23-Aug-01 0:04 
GeneralRe: Const Char * etc Pin
23-Aug-01 1:18
suss23-Aug-01 1:18 
GeneralRe: Const Char * etc Pin
Matt Gullett23-Aug-01 1:24
Matt Gullett23-Aug-01 1:24 
GeneralRe: Const Char * etc Pin
Anders Molin23-Aug-01 1:26
professionalAnders Molin23-Aug-01 1:26 
GeneralRe: Const Char * etc Pin
Ray Kinsella23-Aug-01 1:54
Ray Kinsella23-Aug-01 1:54 
GeneralRe: Const Char * etc Pin
Anders Molin23-Aug-01 2:35
professionalAnders Molin23-Aug-01 2:35 
GeneralRe: Const Char * etc Pin
Ray Kinsella23-Aug-01 5:24
Ray Kinsella23-Aug-01 5:24 
GeneralRe: Const Char * etc Pin
23-Aug-01 6:14
suss23-Aug-01 6:14 
GeneralProblem in Windows 2000 Professional and Visual Studio 6 Enterprise Edition Pin
22-Aug-01 23:46
suss22-Aug-01 23:46 
QuestionHow to use PFA_JUSTIFY in RTF RichEdit ? Pin
22-Aug-01 20:42
suss22-Aug-01 20:42 
GeneralQuestions about #pragma warning disable Pin
Tony Belcher22-Aug-01 20:32
Tony Belcher22-Aug-01 20:32 
GeneralRe: Questions about #pragma warning disable Pin
Tomasz Sowinski22-Aug-01 23:21
Tomasz Sowinski22-Aug-01 23:21 
GeneralRe: Questions about #pragma warning disable Pin
Anders Molin22-Aug-01 23:28
professionalAnders Molin22-Aug-01 23:28 
QuestionHow get ViewList from MainFrame Pin
22-Aug-01 20:06
suss22-Aug-01 20:06 
AnswerRe: How get ViewList from MainFrame Pin
23-Aug-01 13:01
suss23-Aug-01 13:01 

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.