Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problems with variables Pin
Nibu babu thomas5-Jun-08 17:23
Nibu babu thomas5-Jun-08 17:23 
QuestionEnumerating through local drives Pin
JBAK_CP5-Jun-08 6:53
JBAK_CP5-Jun-08 6:53 
QuestionRe: Enumerating through local drives Pin
David Crow5-Jun-08 7:24
David Crow5-Jun-08 7:24 
AnswerRe: Enumerating through local drives Pin
Stephen Hewitt5-Jun-08 16:25
Stephen Hewitt5-Jun-08 16:25 
GeneralRe: Enumerating through local drives Pin
JBAK_CP5-Jun-08 17:39
JBAK_CP5-Jun-08 17:39 
AnswerRe: Enumerating through local drives Pin
Hamid_RT6-Jun-08 1:26
Hamid_RT6-Jun-08 1:26 
QuestionRichEditControl in Visual c++ 6 or in C Win 32 programming Pin
mamp5-Jun-08 6:32
mamp5-Jun-08 6:32 
AnswerRe: RichEditControl in Visual c++ 6 or in C Win 32 programming Pin
Nelek5-Jun-08 7:01
protectorNelek5-Jun-08 7:01 
Why don't you get every different format as a different text? and in each of them say which font are you using, that will make easier to save/print datas. One suggestion (I don't even know if it is a good way to do it, but just an idea).

You can declare a class with a "header" where the font is saved and use different instances of that class according to how the text is formated

I mean... suppose a text of 10 lines, and you want to change font in lines 4 to 6, then brake your 10 lines text into 3lines (1-3), 3lines(4-6) and 4lines(7-10) text parts. So when you save the datas into a file you save the header at first place, then the content of that text part and then the next one. By printing you can use it as well, by getting the first part, looking the header and configurating the DC with that info, then send the text included to the printer and continue with the next part.


Other member will most probably have better options, but this at least is a possibility.

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.

QuestionHow can I display current time in dialog static control Pin
amistry_petlad5-Jun-08 5:23
amistry_petlad5-Jun-08 5:23 
QuestionRe: How can I display current time in dialog static control Pin
David Crow5-Jun-08 5:32
David Crow5-Jun-08 5:32 
QuestionRe: How can I display current time in dialog static control Pin
amistry_petlad5-Jun-08 6:38
amistry_petlad5-Jun-08 6:38 
AnswerRe: How can I display current time in dialog static control Pin
David Crow5-Jun-08 6:43
David Crow5-Jun-08 6:43 
GeneralRe: How can I display current time in dialog static control Pin
amistry_petlad5-Jun-08 7:07
amistry_petlad5-Jun-08 7:07 
GeneralRe: How can I display current time in dialog static control Pin
David Crow5-Jun-08 7:23
David Crow5-Jun-08 7:23 
GeneralRe: How can I display current time in dialog static control Pin
amistry_petlad5-Jun-08 7:44
amistry_petlad5-Jun-08 7:44 
GeneralRe: How can I display current time in dialog static control Pin
David Crow5-Jun-08 7:56
David Crow5-Jun-08 7:56 
GeneralRe: How can I display current time in dialog static control Pin
amistry_petlad5-Jun-08 9:25
amistry_petlad5-Jun-08 9:25 
GeneralRe: How can I display current time in dialog static control Pin
Jijo.Raj5-Jun-08 9:12
Jijo.Raj5-Jun-08 9:12 
GeneralRe: How can I display current time in dialog static control Pin
amistry_petlad5-Jun-08 11:02
amistry_petlad5-Jun-08 11:02 
JokeRe: How can I display current time in dialog static control Pin
Jijo.Raj5-Jun-08 18:31
Jijo.Raj5-Jun-08 18:31 
GeneralRe: How can I display current time in dialog static control Pin
SandipG 5-Jun-08 23:40
SandipG 5-Jun-08 23:40 
QuestionRe: How can I display current time in dialog static control Pin
Maximilien5-Jun-08 7:45
Maximilien5-Jun-08 7:45 
AnswerRe: How can I display current time in dialog static control Pin
amistry_petlad5-Jun-08 7:51
amistry_petlad5-Jun-08 7:51 
QuestionRe: How can I display current time in dialog static control Pin
messages5-Jun-08 5:35
messages5-Jun-08 5:35 
AnswerRe: How can I display current time in dialog static control Pin
amistry_petlad5-Jun-08 7:53
amistry_petlad5-Jun-08 7:53 

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.