Click here to Skip to main content
14,768,153 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 10:50
MemberDavid Crow28-Apr-16 10:50 
AnswerRe: How to implement Ctrl + tab to navigate between tabs in a CTabCtrl Pin
Amrit Agr29-Apr-16 0:21
MemberAmrit Agr29-Apr-16 0:21 
QuestionDoes DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow27-Apr-16 14:11
MemberForNow27-Apr-16 14:11 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
Richard MacCutchan27-Apr-16 22:45
mveRichard MacCutchan27-Apr-16 22:45 
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow28-Apr-16 3:13
MemberForNow28-Apr-16 3:13 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
leon de boer28-Apr-16 2:34
Memberleon de boer28-Apr-16 2:34 
GeneralRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
ForNow28-Apr-16 3:16
MemberForNow28-Apr-16 3:16 
AnswerRe: Does DestroyWindow Parent CDialog destroy all ChildControls Pin
Parthiban.Appuswamy28-Apr-16 4:39
MemberParthiban.Appuswamy28-Apr-16 4: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 5:51
Memberleon de boer28-Apr-16 5:51 
QuestionHow To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 3:22
MemberFrederick J. Harris24-Apr-16 3:22 
AnswerRe: How To Look At GCC C Sources Pin
Richard MacCutchan24-Apr-16 4:02
mveRichard MacCutchan24-Apr-16 4:02 
GeneralRe: How To Look At GCC C Sources Pin
Frederick J. Harris24-Apr-16 5:57
MemberFrederick J. Harris24-Apr-16 5:57 
GeneralRe: How To Look At GCC C Sources Pin
Richard MacCutchan24-Apr-16 6:44
mveRichard MacCutchan24-Apr-16 6:44 
AnswerRe: How To Look At GCC C Sources Pin
Jochen Arndt24-Apr-16 22:32
professionalJochen Arndt24-Apr-16 22:32 
GeneralRe: How To Look At GCC C Sources Pin
Frederick J. Harris25-Apr-16 0:57
MemberFrederick J. Harris25-Apr-16 0:57 
QuestionExchanging data using CSocket Pin
manoharbalu22-Apr-16 23:30
Membermanoharbalu22-Apr-16 23:30 
AnswerRe: Exchanging data using CSocket Pin
Jochen Arndt23-Apr-16 0:30
professionalJochen Arndt23-Apr-16 0:30 
GeneralRe: Exchanging data using CSocket Pin
manoharbalu24-Apr-16 21:23
Membermanoharbalu24-Apr-16 21:23 
GeneralRe: Exchanging data using CSocket Pin
Jochen Arndt24-Apr-16 21:53
professionalJochen Arndt24-Apr-16 21:53 
QuestionAdding UI to an existing console project using windows form Pin
Member 935023722-Apr-16 7:05
MemberMember 935023722-Apr-16 7:05 
AnswerRe: Adding UI to an existing console project using windows form Pin
Richard MacCutchan22-Apr-16 7:47
mveRichard MacCutchan22-Apr-16 7:47 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 22:51
MemberMember 935023725-Apr-16 22:51 
AnswerRe: Adding UI to an existing console project using windows form Pin
leon de boer24-Apr-16 16:49
Memberleon de boer24-Apr-16 16:49 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 22:55
MemberMember 935023725-Apr-16 22:55 
QuestionCode Blocks giving fatal error of not finding header file when there are seperate class files Pin
Mur250122-Apr-16 4:07
MemberMur250122-Apr-16 4: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.