Click here to Skip to main content
15,891,775 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [OT] use PRE tags Pin
ThatsAlok4-Dec-06 22:57
ThatsAlok4-Dec-06 22:57 
GeneralRe: [OT] use PRE tags Pin
toxcct4-Dec-06 23:04
toxcct4-Dec-06 23:04 
GeneralRe: [OT] use PRE tags Pin
includeh105-Dec-06 7:48
includeh105-Dec-06 7:48 
AnswerRe: how to get RUNTIME_CLASS? Pin
jhwurmbach4-Dec-06 22:31
jhwurmbach4-Dec-06 22:31 
QuestionUsing Intel IPP libraries?? Pin
pavanbabut4-Dec-06 12:43
pavanbabut4-Dec-06 12:43 
AnswerRe: Using Intel IPP libraries?? Pin
uusheikh4-Dec-06 14:51
uusheikh4-Dec-06 14:51 
QuestionModal and Modeless Dialogs / Non-Working child dialog controls ... Pin
digitalmythology4-Dec-06 11:31
digitalmythology4-Dec-06 11:31 
AnswerRe: Modal and Modeless Dialogs / Non-Working child dialog controls ... Pin
Christian Graus4-Dec-06 11:51
protectorChristian Graus4-Dec-06 11:51 
digitalmythology wrote:
or should I say .NOT working


Actually, .NET would deal with your memory leaks, eventually.

digitalmythology wrote:
CInvenStoryDlg *dlg = new CInvenStoryDlg (/*... construction args ... */);dlg->Create(IDD_DIALOG_NEWITEM, this);dlg->ShowWindow(SW_SHOW);


A modeless dialog needs to be a member variable. Otherwise, you've thrown a pointer to the wind, and have no way to do anything with it from there on in.


digitalmythology wrote:
(stream = fopen("filename.txt","wb")


You should use C++ to handle files, C is nasty.



Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Modal and Modeless Dialogs / Non-Working child dialog controls ... Pin
digitalmythology4-Dec-06 12:50
digitalmythology4-Dec-06 12:50 
GeneralRe: Modal and Modeless Dialogs / Non-Working child dialog controls ... Pin
Leah_Garrett4-Dec-06 13:34
Leah_Garrett4-Dec-06 13:34 
GeneralRe: Modal and Modeless Dialogs / Non-Working child dialog controls ... Pin
Christian Graus4-Dec-06 17:10
protectorChristian Graus4-Dec-06 17:10 
QuestionRe: Modal and Modeless Dialogs / Non-Working child dialog controls ... Pin
David Crow4-Dec-06 15:53
David Crow4-Dec-06 15:53 
AnswerRe: Modal and Modeless Dialogs / Non-Working child dialog controls ... Pin
digitalmythology4-Dec-06 16:14
digitalmythology4-Dec-06 16:14 
QuestionRe: Modal and Modeless Dialogs / Non-Working child dialog controls ... Pin
David Crow5-Dec-06 2:42
David Crow5-Dec-06 2:42 
QuestionChange bg color of editbox. Pin
acerunner3164-Dec-06 11:13
acerunner3164-Dec-06 11:13 
AnswerRe: Change bg color of editbox. Pin
Christian Graus4-Dec-06 11:55
protectorChristian Graus4-Dec-06 11:55 
GeneralRe: Change bg color of editbox. Pin
acerunner3164-Dec-06 12:09
acerunner3164-Dec-06 12:09 
AnswerRe: Change bg color of editbox. Pin
Mark Salsbery4-Dec-06 13:27
Mark Salsbery4-Dec-06 13:27 
GeneralRe: Change bg color of editbox. Pin
#realJSOP5-Dec-06 0:20
mve#realJSOP5-Dec-06 0:20 
GeneralRe: Change bg color of editbox. Pin
Mark Salsbery5-Dec-06 5:23
Mark Salsbery5-Dec-06 5:23 
AnswerHow to make all your edit controls "Christmasy" Pin
Mark Salsbery4-Dec-06 13:44
Mark Salsbery4-Dec-06 13:44 
GeneralRe: Change bg color of editbox. Pin
ThatsAlok4-Dec-06 22:39
ThatsAlok4-Dec-06 22:39 
GeneralRe: Change bg color of editbox. Pin
Mark Salsbery5-Dec-06 5:21
Mark Salsbery5-Dec-06 5:21 
AnswerRe: Change bg color of editbox. Pin
vikas amin4-Dec-06 23:41
vikas amin4-Dec-06 23:41 
AnswerRe: Change bg color of editbox. Pin
digitalmythology5-Dec-06 15:13
digitalmythology5-Dec-06 15:13 

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.