Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem with sizeof() Pin
Nemanja Trifunovic5-Oct-09 7:23
Nemanja Trifunovic5-Oct-09 7:23 
GeneralRe: problem with sizeof() Pin
Code-o-mat5-Oct-09 8:02
Code-o-mat5-Oct-09 8:02 
AnswerRe: problem with sizeof() Pin
Cedric Moonen5-Oct-09 1:32
Cedric Moonen5-Oct-09 1:32 
AnswerRe: problem with sizeof() Pin
goonyangxiaofang5-Oct-09 1:45
goonyangxiaofang5-Oct-09 1:45 
GeneralRe: problem with sizeof() Pin
CPallini5-Oct-09 3:55
mveCPallini5-Oct-09 3:55 
GeneralRe: problem with sizeof() Pin
goonyangxiaofang5-Oct-09 18:06
goonyangxiaofang5-Oct-09 18:06 
GeneralRe: problem with sizeof() Pin
CPallini5-Oct-09 20:51
mveCPallini5-Oct-09 20:51 
QuestionHow to Implement "Show In Groups" feature in Mini Shell Extension Framework III? Pin
gurjant singh5-Oct-09 1:04
gurjant singh5-Oct-09 1:04 
AnswerRe: How to Implement "Show In Groups" feature in Mini Shell Extension Framework III? Pin
Richard MacCutchan5-Oct-09 10:38
mveRichard MacCutchan5-Oct-09 10:38 
Questionprogram crash before main Pin
hrishiS5-Oct-09 0:52
hrishiS5-Oct-09 0:52 
AnswerRe: program crash before main Pin
Code-o-mat5-Oct-09 1:28
Code-o-mat5-Oct-09 1:28 
GeneralRe: program crash before main Pin
hrishiS5-Oct-09 2:06
hrishiS5-Oct-09 2:06 
QuestionRe: program crash before main Pin
CPallini5-Oct-09 2:17
mveCPallini5-Oct-09 2:17 
AnswerRe: program crash before main Pin
benjymous5-Oct-09 4:45
benjymous5-Oct-09 4:45 
GeneralRe: program crash before main Pin
CPallini5-Oct-09 7:32
mveCPallini5-Oct-09 7:32 
QuestionContextMenu with icons diplayed on right clicking the tray icon Pin
Aabid5-Oct-09 0:31
Aabid5-Oct-09 0:31 
AnswerRe: ContextMenu with icons diplayed on right clicking the tray icon Pin
Code-o-mat5-Oct-09 8:53
Code-o-mat5-Oct-09 8:53 
QuestionExe is getting crashed when i enter wrong password/username Pin
Vetukuri Raju5-Oct-09 0:17
Vetukuri Raju5-Oct-09 0:17 
AnswerRepost. Pin
CPallini5-Oct-09 0:22
mveCPallini5-Oct-09 0:22 
GeneralRe: Repost. Pin
Vetukuri Raju5-Oct-09 0:31
Vetukuri Raju5-Oct-09 0:31 
QuestionRe: Repost. Pin
CPallini5-Oct-09 1:58
mveCPallini5-Oct-09 1:58 
QuestionSet font Courier for Edit box (VC++6.0) ??? Pin
aa_zz5-Oct-09 0:14
aa_zz5-Oct-09 0:14 
hi everybody.
I need data in edit box : 5 line, 1 line max = 50 characters. then I must set font Courier for Edit box. i using code:
... ::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.
**) when using all character UPPER ==> 1 line don't show 50 character.

hope your help. thanks very much

regards

nothing

AnswerRe: Set font Courier for Edit box (VC++6.0) ??? Pin
Hans Dietrich5-Oct-09 0:45
mentorHans Dietrich5-Oct-09 0:45 
GeneralRe: Set font Courier for Edit box (VC++6.0) ??? [modified] Pin
Michael Schubert5-Oct-09 1:18
Michael Schubert5-Oct-09 1:18 
AnswerRe: Set font Courier for Edit box (VC++6.0) ??? Pin
aa_zz5-Oct-09 16:04
aa_zz5-Oct-09 16:04 

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.