Click here to Skip to main content
15,887,294 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionECDSA in Visual C++ 6.0 Pin
Eka Candra5-Oct-09 0:00
Eka Candra5-Oct-09 0:00 
QuestionRe: ECDSA in Visual C++ 6.0 Pin
Rajesh R Subramanian5-Oct-09 0:15
professionalRajesh R Subramanian5-Oct-09 0:15 
AnswerRe: ECDSA in Visual C++ 6.0 Pin
Stuart Dootson5-Oct-09 0:21
professionalStuart Dootson5-Oct-09 0:21 
QuestionRedistributing of exe devloped using VC++ 6.0 Pin
shir_k4-Oct-09 23:57
shir_k4-Oct-09 23:57 
AnswerRe: Redistributing of exe devloped using VC++ 6.0 Pin
Cedric Moonen5-Oct-09 0:02
Cedric Moonen5-Oct-09 0:02 
GeneralRe: Redistributing of exe devloped using VC++ 6.0 Pin
shir_k5-Oct-09 0:21
shir_k5-Oct-09 0:21 
GeneralRe: Redistributing of exe devloped using VC++ 6.0 Pin
CPallini5-Oct-09 0:30
mveCPallini5-Oct-09 0:30 
GeneralRe: Redistributing of exe devloped using VC++ 6.0 Pin
shir_k5-Oct-09 0:35
shir_k5-Oct-09 0:35 
GeneralRe: Redistributing of exe devloped using VC++ 6.0 Pin
CPallini5-Oct-09 2:39
mveCPallini5-Oct-09 2:39 
GeneralRe: Redistributing of exe devloped using VC++ 6.0 Pin
PJ Arends5-Oct-09 15:56
professionalPJ Arends5-Oct-09 15:56 
GeneralRe: Redistributing of exe devloped using VC++ 6.0 Pin
shir_k7-Oct-09 3:26
shir_k7-Oct-09 3:26 
QuestionAdd or remove the editbox border Pin
ratprita4-Oct-09 23:21
ratprita4-Oct-09 23:21 
AnswerRe: Add or remove the editbox border Pin
Chris Losinger5-Oct-09 6:32
professionalChris Losinger5-Oct-09 6:32 
Questionwin32 service for device detection Pin
_T("No name")4-Oct-09 23:04
_T("No name")4-Oct-09 23: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.