Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Replace a part of text from text file Pin
Immunity1831-May-06 15:08
Immunity1831-May-06 15:08 
QuestionRe: Replace a part of text from text file Pin
David Crow1-Jun-06 4:32
David Crow1-Jun-06 4:32 
AnswerRe: Replace a part of text from text file Pin
Immunity181-Jun-06 4:37
Immunity181-Jun-06 4:37 
QuestionForcing new to fail [modified] Pin
hint_5431-May-06 11:30
hint_5431-May-06 11:30 
AnswerRe: Forcing new to fail Pin
Jörgen Sigvardsson31-May-06 13:43
Jörgen Sigvardsson31-May-06 13:43 
AnswerRe: Forcing new to fail [modified] Pin
Stephen Hewitt31-May-06 13:51
Stephen Hewitt31-May-06 13:51 
GeneralRe: Forcing new to fail [modified] Pin
hint_541-Jun-06 5:27
hint_541-Jun-06 5:27 
QuestionRe: Forcing new to fail [modified] Pin
David Crow1-Jun-06 4:36
David Crow1-Jun-06 4:36 
AnswerRe: Forcing new to fail [modified] Pin
hint_541-Jun-06 5:25
hint_541-Jun-06 5:25 
QuestionModeless Dialog Disappearing Pin
aei_totten31-May-06 11:00
aei_totten31-May-06 11:00 
AnswerRe: Modeless Dialog Disappearing Pin
Matt Gullett31-May-06 13:51
Matt Gullett31-May-06 13:51 
GeneralRe: Modeless Dialog Disappearing Pin
aei_totten1-Jun-06 4:18
aei_totten1-Jun-06 4:18 
AnswerRe: Modeless Dialog Disappearing Pin
David Crow1-Jun-06 4:39
David Crow1-Jun-06 4:39 
GeneralRe: Modeless Dialog Disappearing Pin
aei_totten1-Jun-06 6:19
aei_totten1-Jun-06 6:19 
QuestionActive document Pin
Luksky31-May-06 10:17
Luksky31-May-06 10:17 
AnswerRe: Active document Pin
Nibu babu thomas31-May-06 19:26
Nibu babu thomas31-May-06 19:26 
GeneralRe: Active document Pin
Luksky1-Jun-06 7:49
Luksky1-Jun-06 7:49 
QuestionLearning C++ -- from a C# point of view Pin
matiasdk31-May-06 10:08
matiasdk31-May-06 10:08 
AnswerRe: Learning C++ -- from a C# point of view Pin
Zac Howland31-May-06 10:19
Zac Howland31-May-06 10:19 
QuestionCan i save font in my MFC application? Pin
Immunity1831-May-06 10:07
Immunity1831-May-06 10:07 
AnswerRe: Can i save font in my MFC application? Pin
Benoy Bose31-May-06 19:00
Benoy Bose31-May-06 19:00 
Yes you can run your windows application where the greek font is not available.
Please do as follows.

1. Add the Greek Font file to your resource as a custome resource.
2. Durint he startup of your application the font added in your resource should be extrated to the a file in a directory ( may be your application direction ). Use the APIs FindResource amd LoadResource for this.
3. After extracting the font ot file to path ( eg: c:\Program Files\Your App\Font\greekfont.ttf ) call the windows API AddFontResource function with parameter as the path
eg:
AddFontResource ( c:\Program Files\Your App\Font\greekfont.ttf );
4. Now you can display the Greek Character in your application.

GeneralRe: Can i save font in my MFC application? Pin
NiceNaidu31-May-06 20:10
NiceNaidu31-May-06 20:10 
Questionenumport problem Pin
wang200731-May-06 9:57
wang200731-May-06 9:57 
AnswerRe: enumport problem Pin
David Crow31-May-06 10:11
David Crow31-May-06 10:11 
AnswerRe: enumport problem Pin
NiceNaidu31-May-06 19:32
NiceNaidu31-May-06 19:32 

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.