Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSystem Programming in visual C++ Pin
Amir-ul-Amin17-Aug-02 12:24
Amir-ul-Amin17-Aug-02 12:24 
GeneralRe: System Programming in visual C++ Pin
PJ Arends17-Aug-02 13:02
professionalPJ Arends17-Aug-02 13:02 
GeneralEthernet card and setting promiscuous mode Pin
jparsons17-Aug-02 11:36
jparsons17-Aug-02 11:36 
GeneralRe: Ethernet card and setting promiscuous mode Pin
JohnnyG17-Aug-02 16:13
JohnnyG17-Aug-02 16:13 
GeneralRe: Ethernet card and setting promiscuous mode Pin
jparsons18-Aug-02 16:47
jparsons18-Aug-02 16:47 
GeneralRe: Ethernet card and setting promiscuous mode Pin
Amir-ul-Amin2-May-05 22:01
Amir-ul-Amin2-May-05 22:01 
GeneralCEdit question Pin
Bert Tuyt17-Aug-02 11:23
Bert Tuyt17-Aug-02 11:23 
GeneralRe: CEdit question Pin
Rohit  Sinha18-Aug-02 1:56
Rohit  Sinha18-Aug-02 1:56 
um, i can't say this for sure, but i think that the font selected in the dc and the font set in the edit box need not be the same. i remember facing something similar long time back when i changed the font selected in the dc but had the edit box showing the text in a different font. i am not sure why this happens, or even whether this is happening in your case, but there you are.

i suggest using the CWnd::GetFont() funntion and then CFont::GetLogFont() function on the returned CFont pointer from CEdit::GetFont() funtion. you can then use the LOGFONT structure to get the data you need.

not sure if this is the solution though. Poke tongue | ;-P



   Regards,

   Rohit Sinha
Questionhow will i know? Pin
drmzunlimited17-Aug-02 10:30
drmzunlimited17-Aug-02 10:30 
AnswerRe: how will i know? Pin
Sijin18-Aug-02 20:23
Sijin18-Aug-02 20:23 
Questioncan anybody help!! Pin
drmzunlimited17-Aug-02 10:25
drmzunlimited17-Aug-02 10:25 
AnswerRe: can anybody help!! Pin
Sijin18-Aug-02 20:36
Sijin18-Aug-02 20:36 
GeneralIMPLEMENT_DYNCREATE(class, base class) Pin
JennyP17-Aug-02 9:03
JennyP17-Aug-02 9:03 
GeneralRe: IMPLEMENT_DYNCREATE(class, base class) Pin
Philippe Mori17-Aug-02 10:00
Philippe Mori17-Aug-02 10:00 
GeneralDialogs default button.. Pin
djrisc17-Aug-02 8:51
djrisc17-Aug-02 8:51 
QuestionHow to load a menu into a project (ATL/MFC) Pin
sanjeev_17-Aug-02 7:50
sanjeev_17-Aug-02 7:50 
AnswerRe: How to load a menu into a project (ATL/MFC) Pin
dlhson17-Aug-02 8:23
dlhson17-Aug-02 8:23 
GeneralRe: How to load a menu into a project (ATL/MFC) Pin
sanjeev_17-Aug-02 16:25
sanjeev_17-Aug-02 16:25 
Generalfull screen Pin
wong190717-Aug-02 7:35
wong190717-Aug-02 7:35 
GeneralRe: full screen Pin
Shog917-Aug-02 7:48
sitebuilderShog917-Aug-02 7:48 
GeneralCDHTMLDialog issue Pin
Emilio Guijarro17-Aug-02 6:25
Emilio Guijarro17-Aug-02 6:25 
GeneralRe: CDHTMLDialog issue Pin
Shog917-Aug-02 7:12
sitebuilderShog917-Aug-02 7:12 
GeneralRe: CDHTMLDialog issue Pin
Emilio Guijarro18-Aug-02 7:15
Emilio Guijarro18-Aug-02 7:15 
GeneralRe: CDHTMLDialog issue Pin
Shog918-Aug-02 8:36
sitebuilderShog918-Aug-02 8:36 
GeneralRe: CDHTMLDialog issue Pin
Emilio Guijarro19-Aug-02 6:31
Emilio Guijarro19-Aug-02 6:31 

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.