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

C / C++ / MFC

 
GeneralRe: ContextMenu Pin
RockyJames27-Jun-06 22:25
RockyJames27-Jun-06 22:25 
QuestionEdit box Pin
Diglu27-Jun-06 18:38
Diglu27-Jun-06 18:38 
AnswerRe: Edit box Pin
Naveen27-Jun-06 18:42
Naveen27-Jun-06 18:42 
AnswerRe: Edit box Pin
Hamid_RT27-Jun-06 18:48
Hamid_RT27-Jun-06 18:48 
GeneralRe: Edit box Pin
Diglu27-Jun-06 19:16
Diglu27-Jun-06 19:16 
QuestionRe: Edit box Pin
Hamid_RT27-Jun-06 19:30
Hamid_RT27-Jun-06 19:30 
AnswerRe: Edit box Pin
Diglu27-Jun-06 20:03
Diglu27-Jun-06 20:03 
GeneralRe: Edit box Pin
Hamid_RT27-Jun-06 20:11
Hamid_RT27-Jun-06 20:11 
I dont know your error use from debugger but i write and i check this code not problem and it work
please see,
<br />
//in header file<br />
CEdit	m_Edit2;<br />
CFont   font;<br />
<pre>
m_Edit2.Create(WS_CHILD|WS_VISIBLE,CRect(100,0,250,23),this,1);
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
_T("Arial")); // lpszFacename

m_Edit2.SetFont(&font); 
</pre><br />
test this code and answer to me it has error or it work <br />
<br />
<font size="2" color="#99ff66"><hr></font><div style="padding: 2px; text-align: left; color: rgba(255, 255, 255, 1); width: 80px"><font size="2" color="#99ff66">whitesky<br />
</font></div><hr>

GeneralRe: Edit box Pin
Diglu27-Jun-06 20:31
Diglu27-Jun-06 20:31 
AnswerRe: Edit box Pin
songlei27-Jun-06 19:12
songlei27-Jun-06 19:12 
Questionhow to change the background color of menu bar ? Pin
mimimimilaw27-Jun-06 18:34
mimimimilaw27-Jun-06 18:34 
AnswerRe: how to change the background color of menu bar ? Pin
songlei27-Jun-06 19:14
songlei27-Jun-06 19:14 
AnswerRe: how to change the background color of menu bar ? Pin
Walter Zorn28-Jun-06 14:27
Walter Zorn28-Jun-06 14:27 
QuestionMime Filter and Name Space problem Pin
Tcpip200527-Jun-06 18:03
Tcpip200527-Jun-06 18:03 
QuestionSend Integer to DLL Pin
borono27-Jun-06 17:39
borono27-Jun-06 17:39 
AnswerRe: Send Integer to DLL Pin
bob1697227-Jun-06 19:17
bob1697227-Jun-06 19:17 
GeneralRe: Send Integer to DLL Pin
borono27-Jun-06 19:35
borono27-Jun-06 19:35 
GeneralRe: Send Integer to DLL Pin
Anna-Jayne Metcalfe27-Jun-06 21:48
Anna-Jayne Metcalfe27-Jun-06 21:48 
GeneralRe: Send Integer to DLL Pin
borono27-Jun-06 22:08
borono27-Jun-06 22:08 
AnswerRe: Send Integer to DLL Pin
S Douglas28-Jun-06 12:21
professionalS Douglas28-Jun-06 12:21 
QuestionAccesing protected function from another class Pin
Ram Murali27-Jun-06 16:00
Ram Murali27-Jun-06 16:00 
AnswerRe: Accesing protected function from another class Pin
Michael Dunn27-Jun-06 16:11
sitebuilderMichael Dunn27-Jun-06 16:11 
GeneralRe: Accesing protected function from another class [modified] Pin
The Other Brad Larsen27-Jun-06 17:36
The Other Brad Larsen27-Jun-06 17:36 
QuestionAppend a space to a string... Pin
Shrinaresh27-Jun-06 13:09
Shrinaresh27-Jun-06 13:09 
AnswerRe: Append a space to a string... Pin
Maximilien27-Jun-06 13:27
Maximilien27-Jun-06 13:27 

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.