Click here to Skip to main content
15,905,558 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how can I respond Enter Event in a editbox? Pin
valikac4-Aug-02 6:26
valikac4-Aug-02 6:26 
GeneralRe: how can I respond Enter Event in a editbox? Pin
Angel Kid4-Aug-02 6:29
Angel Kid4-Aug-02 6:29 
GeneralRe: how can I respond Enter Event in a editbox? Pin
Pavel Klocek4-Aug-02 7:06
Pavel Klocek4-Aug-02 7:06 
AnswerRe: This is one of the famous question. Pin
Masaaki Onishi4-Aug-02 7:05
Masaaki Onishi4-Aug-02 7:05 
AnswerRe: how can I respond Enter Event in a editbox? Pin
PJ Arends4-Aug-02 8:17
professionalPJ Arends4-Aug-02 8:17 
GeneralRe: how can I respond Enter Event in a editbox? Pin
JohnnyG4-Aug-02 12:07
JohnnyG4-Aug-02 12:07 
GeneralSetFont Pin
Anonymous4-Aug-02 5:14
Anonymous4-Aug-02 5:14 
GeneralRe: SetFont Pin
valikac4-Aug-02 6:23
valikac4-Aug-02 6:23 
Here is on solution.

// This should be in the class contructor.

-----
LOGFONT fontLog;
CDC dc;
memset(&fontLog, 0, sizeof(LOGFONT));

// set font size
fontLog.lfHeight = -MulDiv(11, GetDeviceCaps(dc, LOGPIXELSY), 72);

// set font type
strcpy(fontLog.lfFaceName, "Microsoft Sans Serif");

CFont *myFont;
myFont = new CFont();
myFont->CreateFontIndirect(&m_MsgLogFont);
-----

// This should be in the function you use to set the font.

-----
myFont->CreateFontIndirect(&m_MsgLogFont);

// Assuming this is a listview

GetEditCtrl().SetFont(myFont);
-----

Kuphryn

GeneralRe: SetFont Pin
Michael Dunn4-Aug-02 7:24
sitebuilderMichael Dunn4-Aug-02 7:24 
Generalsimple question in Vc Pin
glinda4-Aug-02 3:24
glinda4-Aug-02 3:24 
GeneralRe: simple question in Vc Pin
jmkhael4-Aug-02 10:16
jmkhael4-Aug-02 10:16 
Generalframeless documents and saving custom documents Pin
Chi Ling4-Aug-02 3:17
sussChi Ling4-Aug-02 3:17 
GeneralSending and receiving files trought CAsyncSocket derived class Pin
fdmanana4-Aug-02 2:28
fdmanana4-Aug-02 2:28 
GeneralRe: Sending and receiving files trought CAsyncSocket derived class Pin
Imran Farooqui4-Aug-02 3:04
Imran Farooqui4-Aug-02 3:04 
GeneralRe: Sending and receiving files trought CAsyncSocket derived class Pin
Masaaki Onishi4-Aug-02 7:18
Masaaki Onishi4-Aug-02 7:18 
QuestionCRDBMS??? Pin
alex.barylski4-Aug-02 2:18
alex.barylski4-Aug-02 2:18 
AnswerRe: CRDBMS??? Pin
Pavel Klocek4-Aug-02 6:54
Pavel Klocek4-Aug-02 6:54 
QuestionATL Problems ? Pin
Leesen3-Aug-02 22:56
Leesen3-Aug-02 22:56 
AnswerRe: ATL Problems ? Pin
Christian Graus3-Aug-02 23:07
protectorChristian Graus3-Aug-02 23:07 
GeneralRe: ATL Problems ? Pin
Leesen3-Aug-02 23:39
Leesen3-Aug-02 23:39 
AnswerRe: ATL Problems ? Pin
Michael P Butler4-Aug-02 2:40
Michael P Butler4-Aug-02 2:40 
AnswerRe: ATL Problems ? Pin
Philippe Mori5-Aug-02 8:15
Philippe Mori5-Aug-02 8:15 
GeneralADO in console App Pin
Virtual Destructor3-Aug-02 22:02
Virtual Destructor3-Aug-02 22:02 
GeneralRe: ADO in console App Pin
Michael P Butler3-Aug-02 23:46
Michael P Butler3-Aug-02 23:46 
QuestionHow can i know if the desktop windows Z order has been changed Pin
adara3-Aug-02 20:34
adara3-Aug-02 20:34 

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.