Click here to Skip to main content
15,899,549 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: remove border form flat button Pin
prasad_som15-Aug-06 23:23
prasad_som15-Aug-06 23:23 
AnswerRe: remove border form flat button Pin
Hamid_RT16-Aug-06 5:24
Hamid_RT16-Aug-06 5:24 
GeneralRe: remove border form flat button Pin
Tara1416-Aug-06 23:10
Tara1416-Aug-06 23:10 
GeneralRe: remove border form flat button Pin
Hamid_RT17-Aug-06 0:08
Hamid_RT17-Aug-06 0:08 
QuestionDestructor not working ? Pin
jalsa G15-Aug-06 20:24
jalsa G15-Aug-06 20:24 
AnswerRe: Destructor not working ? Pin
Nibu babu thomas15-Aug-06 20:32
Nibu babu thomas15-Aug-06 20:32 
AnswerRe: Destructor not working ? Pin
Cedric Moonen15-Aug-06 20:32
Cedric Moonen15-Aug-06 20:32 
GeneralRe: Destructor not working ? Pin
jalsa G15-Aug-06 21:11
jalsa G15-Aug-06 21:11 
i created objects like this and

void mymainDlg::CreateTabWindows()
{

m_phoneDlg = new CGlobe7Phone();
m_phoneDlg->Create(IDD_PHONE,this);


m_TelevisionDlg = new CGlobe7Television();
m_TelevisionDlg->Create(IDD_DIALOG_INTERNET_TELEVISION,this);

m_MessageCenterDlg = new CGlobe7MessageCenter();
m_MessageCenterDlg->Create(IDD_DIALOG_MESSAGECENTER,this);

}

i used destructor like this but it does'nt work and showing memory leaks

mymainDlg::~mymainDlg()
{
delete m_phoneDlg;
delete m_TelevisionDlg;
delete m_MessageCenterDlg;
}

Thank you

venu

GeneralRe: Destructor not working ? Pin
Weiye Chen15-Aug-06 21:19
Weiye Chen15-Aug-06 21:19 
GeneralRe: Destructor not working ? Pin
prasad_som15-Aug-06 21:19
prasad_som15-Aug-06 21:19 
GeneralRe: Destructor not working ? Pin
Hamid_RT15-Aug-06 21:39
Hamid_RT15-Aug-06 21:39 
GeneralRe: Destructor not working ? Pin
jalsa G15-Aug-06 21:38
jalsa G15-Aug-06 21:38 
GeneralRe: Destructor not working ? Pin
jalsa G15-Aug-06 21:49
jalsa G15-Aug-06 21:49 
GeneralRe: Destructor not working ? Pin
jalsa G15-Aug-06 21:54
jalsa G15-Aug-06 21:54 
GeneralRe: Destructor not working ? Pin
prasad_som15-Aug-06 22:31
prasad_som15-Aug-06 22:31 
GeneralRe: Destructor not working ? Pin
jalsa G15-Aug-06 22:39
jalsa G15-Aug-06 22:39 
GeneralRe: Destructor not working ? Pin
prasad_som15-Aug-06 23:20
prasad_som15-Aug-06 23:20 
GeneralRe: Destructor not working ? Pin
Weiye Chen15-Aug-06 22:01
Weiye Chen15-Aug-06 22:01 
QuestionProblem with Stdafx.cpp [modified] Pin
georgekjolly15-Aug-06 20:19
georgekjolly15-Aug-06 20:19 
AnswerRe: Problem with Stdafx.cpp Pin
Nibu babu thomas15-Aug-06 20:29
Nibu babu thomas15-Aug-06 20:29 
GeneralRe: Problem with Stdafx.cpp Pin
georgekjolly15-Aug-06 20:39
georgekjolly15-Aug-06 20:39 
QuestionMFC modal dialog question Pin
HongCao15-Aug-06 19:51
HongCao15-Aug-06 19:51 
AnswerRe: MFC modal dialog question Pin
Michael Dunn15-Aug-06 19:55
sitebuilderMichael Dunn15-Aug-06 19:55 
GeneralRe: MFC modal dialog question Pin
Christian Graus15-Aug-06 20:09
protectorChristian Graus15-Aug-06 20:09 
GeneralRe: MFC modal dialog question Pin
Michael Dunn15-Aug-06 20:15
sitebuilderMichael Dunn15-Aug-06 20:15 

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.