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

C / C++ / MFC

 
AnswerRe: how to simulate the mspaint... Pin
Amarnath S12-May-11 22:34
professionalAmarnath S12-May-11 22:34 
QuestionCPropertySheet/CPropertyPage Pin
Bram van Kampen12-May-11 15:29
Bram van Kampen12-May-11 15:29 
QuestionRe: CPropertySheet/CPropertyPage Pin
JohnCz14-May-11 11:37
JohnCz14-May-11 11:37 
QuestionProblem with ActiveX: 0x80020005 (DISP_E_TYPEMISMATCH) Pin
XIpsYloNZ12-May-11 3:43
XIpsYloNZ12-May-11 3:43 
QuestionMS Flex Grid using VC++ Merge Cells not working... Pin
spalanivel12-May-11 3:10
spalanivel12-May-11 3:10 
Questionhow to get the file icon if this file doesnot have type name[solved] Pin
yu-jian12-May-11 3:01
yu-jian12-May-11 3:01 
AnswerRe: how to get the file icon if this file doesnot have type name Pin
Richard MacCutchan12-May-11 3:35
mveRichard MacCutchan12-May-11 3:35 
QuestionOwner draw button's font problem. [modified] Pin
Malli_S12-May-11 2:33
Malli_S12-May-11 2:33 
In the simple win32 program, I'm having two buttons on the dialog. The difference between the two buttons is that one is dynamically created with dialog as parent and the other button is statically placed on the dialog. But the two buttons appears to be different in the font. When I debug, I found the statically placed button is inheriting the dialog font (i.e. "Arial") while the dynamically created button (using CreateWindow()) is not. Do I need to set any flag while dynamically creating the controls ?

I found the same problem with the other non owner draw controls like label, so modified the post.
[Delegates]      [Virtual Desktop]      [Tray Me !]

-Malli...! Rose | [Rose]

modified on Thursday, May 12, 2011 9:09 AM

AnswerRe: Owner draw button's font problem. Pin
Richard MacCutchan12-May-11 3:32
mveRichard MacCutchan12-May-11 3:32 
GeneralRe: Owner draw button's font problem. Pin
Malli_S13-May-11 3:22
Malli_S13-May-11 3:22 
GeneralRe: Owner draw button's font problem. Pin
Richard MacCutchan13-May-11 4:04
mveRichard MacCutchan13-May-11 4:04 
GeneralRe: Owner draw button's font problem. Pin
Richard MacCutchan13-May-11 4:46
mveRichard MacCutchan13-May-11 4:46 
Questionhow to move images in same list control Pin
rjkg12-May-11 0:52
rjkg12-May-11 0:52 
AnswerRe: how to move images in same list control Pin
Richard MacCutchan12-May-11 3:28
mveRichard MacCutchan12-May-11 3:28 
QuestionHow can I know which item was selected in TreeCtrl ? Pin
_Flaviu12-May-11 0:45
_Flaviu12-May-11 0:45 
AnswerRe: How can I know which item was selected in TreeCtrl ? Pin
Niklas L12-May-11 2:16
Niklas L12-May-11 2:16 
GeneralRe: How can I know which item was selected in TreeCtrl ? Pin
_Flaviu12-May-11 2:26
_Flaviu12-May-11 2:26 
QuestionRe: How can I know which item was selected in TreeCtrl ? Pin
David Crow12-May-11 3:06
David Crow12-May-11 3:06 
AnswerRe: How can I know which item was selected in TreeCtrl ? Pin
_Flaviu12-May-11 3:12
_Flaviu12-May-11 3:12 
GeneralRe: How can I know which item was selected in TreeCtrl ? Pin
Richard MacCutchan12-May-11 3:27
mveRichard MacCutchan12-May-11 3:27 
GeneralRe: How can I know which item was selected in TreeCtrl ? Pin
David Crow12-May-11 3:42
David Crow12-May-11 3:42 
GeneralRe: How can I know which item was selected in TreeCtrl ? Pin
_Flaviu12-May-11 6:57
_Flaviu12-May-11 6:57 
QuestionSetting Image to a Button through ocde Pin
pix_programmer11-May-11 22:17
pix_programmer11-May-11 22:17 
AnswerRe: Setting Image to a Button through ocde Pin
«_Superman_»11-May-11 23:04
professional«_Superman_»11-May-11 23:04 
QuestionSocket connection is getting closed when terminal services is enabled in Win2008R2 OS Pin
V K 211-May-11 21:32
V K 211-May-11 21:32 

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.