Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to implement Ctrl + tab to navigate between tabs in a CTabCtrl Pin
David Crow28-Apr-16 9:50
David Crow28-Apr-16 9:50 
AnswerRe: How to implement Ctrl + tab to navigate between tabs in a CTabCtrl Pin
Amrit Agr28-Apr-16 23:21
Amrit Agr28-Apr-16 23:21 
QuestionDoes DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow27-Apr-16 13:11
ForNow27-Apr-16 13:11 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
Richard MacCutchan27-Apr-16 21:45
mveRichard MacCutchan27-Apr-16 21:45 
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow28-Apr-16 2:13
ForNow28-Apr-16 2:13 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
leon de boer28-Apr-16 1:34
leon de boer28-Apr-16 1:34 
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow28-Apr-16 2:16
ForNow28-Apr-16 2:16 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
Parthiban.Appuswamy28-Apr-16 3:39
Parthiban.Appuswamy28-Apr-16 3:39 
Yes, if you are allocating memory using 'new' to your RichEdit, then yes you have to release it. But you have to do it before your parent window (in this case your CDialog) is destroyed.

Override OnDestroy (WM_DESTROY) and destroy your RichEdit followed by 'delete' (to release heap memory) and then call the CDialog::OnDestroy().
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
leon de boer28-Apr-16 4:51
leon de boer28-Apr-16 4:51 
QuestionHow To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 2:22
Frederick J. Harris24-Apr-16 2:22 
AnswerRe: How To Look At GCC C Sources Pin
Richard MacCutchan24-Apr-16 3:02
mveRichard MacCutchan24-Apr-16 3:02 
GeneralRe: How To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 4:57
Frederick J. Harris24-Apr-16 4:57 
GeneralRe: How To Look At GCC C Sources Pin
Richard MacCutchan24-Apr-16 5:44
mveRichard MacCutchan24-Apr-16 5:44 
AnswerRe: How To Look At GCC C Sources Pin
Jochen Arndt24-Apr-16 21:32
professionalJochen Arndt24-Apr-16 21:32 
GeneralRe: How To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 23:57
Frederick J. Harris24-Apr-16 23:57 
QuestionExchanging data using CSocket Pin
manoharbalu22-Apr-16 22:30
manoharbalu22-Apr-16 22:30 
AnswerRe: Exchanging data using CSocket Pin
Jochen Arndt22-Apr-16 23:30
professionalJochen Arndt22-Apr-16 23:30 
GeneralRe: Exchanging data using CSocket Pin
manoharbalu24-Apr-16 20:23
manoharbalu24-Apr-16 20:23 
GeneralRe: Exchanging data using CSocket Pin
Jochen Arndt24-Apr-16 20:53
professionalJochen Arndt24-Apr-16 20:53 
QuestionAdding UI to an existing console project using windows form Pin
Member 935023722-Apr-16 6:05
Member 935023722-Apr-16 6:05 
AnswerRe: Adding UI to an existing console project using windows form Pin
Richard MacCutchan22-Apr-16 6:47
mveRichard MacCutchan22-Apr-16 6:47 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 21:51
Member 935023725-Apr-16 21:51 
AnswerRe: Adding UI to an existing console project using windows form Pin
leon de boer24-Apr-16 15:49
leon de boer24-Apr-16 15:49 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 21:55
Member 935023725-Apr-16 21:55 
QuestionCode Blocks giving fatal error of not finding header file when there are seperate class files Pin
Mur250122-Apr-16 3:07
Mur250122-Apr-16 3:07 

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.