Click here to Skip to main content
15,908,834 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiontype text of Edit box using font Courier (VC++6.0) ? Pin
aa_zz10-Sep-09 22:30
aa_zz10-Sep-09 22:30 
AnswerRe: type text of Edit box using font Courier (VC++6.0) ? Pin
Adam Roderick J10-Sep-09 22:46
Adam Roderick J10-Sep-09 22:46 
GeneralRe: type text of Edit box using font Courier (VC++6.0) ? Pin
aa_zz10-Sep-09 23:06
aa_zz10-Sep-09 23:06 
GeneralRe: type text of Edit box using font Courier (VC++6.0) ? Pin
Adam Roderick J10-Sep-09 23:18
Adam Roderick J10-Sep-09 23:18 
GeneralRe: type text of Edit box using font Courier (VC++6.0) ? Pin
aa_zz11-Sep-09 0:57
aa_zz11-Sep-09 0:57 
GeneralRe: type text of Edit box using font Courier (VC++6.0) ? Pin
Nuri Ismail11-Sep-09 2:08
Nuri Ismail11-Sep-09 2:08 
GeneralRe: type text of Edit box using font Courier (VC++6.0) ? Pin
aa_zz13-Sep-09 17:14
aa_zz13-Sep-09 17:14 
GeneralRe: type text of Edit box using font Courier (VC++6.0) ? Pin
aa_zz29-Sep-09 19:00
aa_zz29-Sep-09 19:00 
... ::OnInitDialog()
{
CFont m_Font;
VERIFY(m_Font.CreateFont(
12, // nHeight
0, // nWidth
0, // nEscapement
0, // nOrientation
FW_NORMAL, // nWeight
FALSE, // bItalic
FALSE, // bUnderline
0, // cStrikeOut
ANSI_CHARSET, // nCharSet
OUT_DEFAULT_PRECIS, // nOutPrecision
CLIP_DEFAULT_PRECIS, // nClipPrecision
DEFAULT_QUALITY, // nQuality
DEFAULT_PITCH | FF_SWISS, // nPitchAndFamily
"Courier")); // lpszFacename

CWnd *pWnd = GetDlgItem(IDC_MESSAGE_TEXT);
pWnd->SetFont(&m_Font);
m_Font.DeleteObject();

...
}
=>Data in Edit text is Bold. When I using mouse to choice this Edit text , it show text wrong. seem, it need control of mouse.
for example: show text wrong when type : "y" or "g", it have lost under.
i wish you help me. thanks very much.

regards

nothing

Questionget date and time of the remote file using MFC Pin
sunnyram10-Sep-09 21:39
sunnyram10-Sep-09 21:39 
AnswerRe: get date and time of the remote file using MFC Pin
norish11-Sep-09 2:55
norish11-Sep-09 2:55 
Questioncut one small rectangle piece in one full image Pin
Game-point10-Sep-09 21:02
Game-point10-Sep-09 21:02 
AnswerRe: cut one small rectangle piece in one full image Pin
Sauce!10-Sep-09 21:11
Sauce!10-Sep-09 21:11 
GeneralRe: cut one small rectangle piece in one full image Pin
Game-point10-Sep-09 21:27
Game-point10-Sep-09 21:27 
AnswerRe: cut one small rectangle piece in one full image Pin
CPallini10-Sep-09 21:12
mveCPallini10-Sep-09 21:12 
Questionhow to Count The Number Of Records In An Access Database [modified] Pin
jadhavjitendrar10-Sep-09 20:10
jadhavjitendrar10-Sep-09 20:10 
AnswerRe: how to Count The Number Of Records In An Access Database Pin
CPallini10-Sep-09 21:04
mveCPallini10-Sep-09 21:04 
GeneralRe: how to Count The Number Of Records In An Access Database Pin
norish10-Sep-09 21:36
norish10-Sep-09 21:36 
Questionwhat is _T("\\sample")??? Pin
gunjan ga10-Sep-09 20:03
gunjan ga10-Sep-09 20:03 
AnswerRe: what is _T("\\sample")??? Pin
Stuart Dootson10-Sep-09 20:30
professionalStuart Dootson10-Sep-09 20:30 
GeneralRe: what is _T("\\sample")??? Pin
gunjan ga10-Sep-09 21:09
gunjan ga10-Sep-09 21:09 
GeneralRe: what is _T("\\sample")??? Pin
CPallini10-Sep-09 21:16
mveCPallini10-Sep-09 21:16 
AnswerRe: what is _T("\\sample")??? Pin
Adam Roderick J10-Sep-09 20:51
Adam Roderick J10-Sep-09 20:51 
GeneralRe: what is _T("\\sample")??? Pin
gunjan ga11-Sep-09 0:06
gunjan ga11-Sep-09 0:06 
GeneralRe: what is _T("\\sample")??? Pin
Code-o-mat11-Sep-09 0:49
Code-o-mat11-Sep-09 0:49 
QuestionConvert from int to user-defined type. Pin
Sauce!10-Sep-09 19:09
Sauce!10-Sep-09 19:09 

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.