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

C / C++ / MFC

 
GeneralRe: Customize CFileDialog Pin
Marko Frelih3-Jun-01 21:10
Marko Frelih3-Jun-01 21:10 
GeneralRe: Customize CFileDialog Pin
3-Jun-01 21:47
suss3-Jun-01 21:47 
QuestionChristian Graus ... where are you? Pin
Michael Martin3-Jun-01 17:08
professionalMichael Martin3-Jun-01 17:08 
AnswerRe: Christian Graus ... where are you? Pin
PJ Arends3-Jun-01 17:39
professionalPJ Arends3-Jun-01 17:39 
GeneralRe: Christian Graus ... where are you? Pin
Michael Martin3-Jun-01 18:33
professionalMichael Martin3-Jun-01 18:33 
GeneralRe: Christian Graus ... where are you? Pin
3-Jun-01 18:55
suss3-Jun-01 18:55 
GeneralRe: Christian Graus ... where are you? Pin
PJ Arends3-Jun-01 21:26
professionalPJ Arends3-Jun-01 21:26 
GeneralRe: Christian Graus ... where are you? Pin
4-Jun-01 5:01
suss4-Jun-01 5:01 
As has been said before, declare a CFont variable in your class. But there is a much easier way to get what you want!!

class myClass
{
.....
protected:
CFont myFont;
};

myClass::OnInitialUpdate() //or wherever
{
....
CDC* pDC = myEditBox.GetDC();
myFont.CreatePointFont(90,"Courier New",pDC);
myEditBox.SetFont(&myFont);
myFont.DeleteObject();
....
}
GeneralRe: Christian Graus ... where are you? Pin
4-Jun-01 5:03
suss4-Jun-01 5:03 
QuestionSend Message? Pin
Kyle3-Jun-01 16:07
Kyle3-Jun-01 16:07 
AnswerRe: Send Message? Pin
Tomasz Sowinski4-Jun-01 1:22
Tomasz Sowinski4-Jun-01 1:22 
Generalcontrolling an ungracefull program kill Pin
3-Jun-01 16:01
suss3-Jun-01 16:01 
GeneralRe: How about Timer or Thread? Pin
Masaaki Onishi3-Jun-01 17:08
Masaaki Onishi3-Jun-01 17:08 
GeneralRe: How about Timer or Thread? Pin
3-Jun-01 17:30
suss3-Jun-01 17:30 
GeneralRe: How about Timer or Thread? Pin
3-Jun-01 18:16
suss3-Jun-01 18:16 
GeneralRe: controlling an ungracefull program kill Pin
Ben Burnett3-Jun-01 20:31
Ben Burnett3-Jun-01 20:31 
Generalgetline() Pin
3-Jun-01 14:53
suss3-Jun-01 14:53 
GeneralRe: getline() Pin
Christian Graus3-Jun-01 15:31
protectorChristian Graus3-Jun-01 15:31 
GeneralInternet connection.... Pin
Rickard Andersson203-Jun-01 10:29
Rickard Andersson203-Jun-01 10:29 
GeneralRe: Internet connection.... Pin
Pavlos Touboulidis3-Jun-01 16:59
Pavlos Touboulidis3-Jun-01 16:59 
QuestionHow to disable a menu during runtime Pin
3-Jun-01 9:01
suss3-Jun-01 9:01 
AnswerRe: How to disable a menu during runtime Pin
Igor Sukhov3-Jun-01 9:13
Igor Sukhov3-Jun-01 9:13 
GeneralRe: How to disable a menu during runtime Pin
6-Jun-01 8:26
suss6-Jun-01 8:26 
QuestionHow move a component ? Pin
3-Jun-01 3:26
suss3-Jun-01 3:26 
AnswerRe: How move a component ? Pin
Igor Sukhov3-Jun-01 5:47
Igor Sukhov3-Jun-01 5:47 

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.