Click here to Skip to main content
15,921,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Destructor Not Getting Called Pin
CoffeeAddict1913-Apr-07 11:32
CoffeeAddict1913-Apr-07 11:32 
GeneralRe: Destructor Not Getting Called Pin
Mark Salsbery13-Apr-07 11:36
Mark Salsbery13-Apr-07 11:36 
GeneralRe: Destructor Not Getting Called Pin
CoffeeAddict1913-Apr-07 11:48
CoffeeAddict1913-Apr-07 11:48 
GeneralRe: Destructor Not Getting Called Pin
Mark Salsbery13-Apr-07 12:10
Mark Salsbery13-Apr-07 12:10 
GeneralRe: Destructor Not Getting Called Pin
Mark Salsbery13-Apr-07 12:33
Mark Salsbery13-Apr-07 12:33 
AnswerRe: Destructor Not Getting Called Pin
John R. Shaw14-Apr-07 15:57
John R. Shaw14-Apr-07 15:57 
QuestionLogOff User from a Service running as System Pin
Gurkenscheibe13-Apr-07 10:44
Gurkenscheibe13-Apr-07 10:44 
Questionwhich one is parent? Pin
iayd13-Apr-07 9:02
iayd13-Apr-07 9:02 
Hi I have 3 dailog boxes(Dlg1,Dlg2,Dlg3) which create a fourth dialog box which is called ChildDlg.How can I understand which one is the parent of the ChildDlg? I tried that;
ChildDlg::Something()
{
Dlg1 *dlg = (Dlg1*)GetParent();
if(Dlg1 is not the parent)
{
delete dlg;
Dlg2 *dlg = (Dlg2*)GetParent();
if(Dlg2 is not the parent)
{
Delete dlg;
Dlg3 *dlg = (Dlg3*)GetParent();
}
}
(After that part of the code I am using dlg as the object of the parent.)
)
I have many methods like this method which I should know which one is the parent.Where is the mistake in this method.It doesn't work.I know I asked a question similar to this one but still I have problems about that subject.
Thanks

AnswerRe: which one is parent? Pin
Wes Aday13-Apr-07 9:54
professionalWes Aday13-Apr-07 9:54 
QuestionRe: which one is parent? Pin
Maximilien13-Apr-07 9:56
Maximilien13-Apr-07 9:56 
AnswerRe: which one is parent? Pin
CPallini13-Apr-07 10:10
mveCPallini13-Apr-07 10:10 
AnswerRe: which one is parent? Pin
CPallini13-Apr-07 10:06
mveCPallini13-Apr-07 10:06 
AnswerRe: which one is parent? Pin
bob1697213-Apr-07 10:10
bob1697213-Apr-07 10:10 
AnswerRe: which one is parent? Pin
JudyL_MD13-Apr-07 10:14
JudyL_MD13-Apr-07 10:14 
GeneralRe: which one is parent? Pin
iayd13-Apr-07 11:15
iayd13-Apr-07 11:15 
Questionhard disk serial number in vista Pin
viral_umang@hotmail.com13-Apr-07 8:59
viral_umang@hotmail.com13-Apr-07 8:59 
AnswerRe: hard disk serial number in vista Pin
bob1697213-Apr-07 9:58
bob1697213-Apr-07 9:58 
QuestionRe: hard disk serial number in vista Pin
viral_umang@hotmail.com13-Apr-07 10:16
viral_umang@hotmail.com13-Apr-07 10:16 
AnswerRe: hard disk serial number in vista Pin
bob1697213-Apr-07 10:45
bob1697213-Apr-07 10:45 
QuestionWhat happens if client CSocket does not process/clear returned package? Pin
zipliu13-Apr-07 5:04
zipliu13-Apr-07 5:04 
AnswerRe: What happens if client CSocket does not process/clear returned package? Pin
Mark Salsbery13-Apr-07 7:28
Mark Salsbery13-Apr-07 7:28 
GeneralRe: What happens if client CSocket does not process/clear returned package? Pin
zipliu13-Apr-07 9:03
zipliu13-Apr-07 9:03 
GeneralRe: What happens if client CSocket does not process/clear returned package? Pin
Mark Salsbery13-Apr-07 11:15
Mark Salsbery13-Apr-07 11:15 
GeneralRe: What happens if client CSocket does not process/clear returned package? Pin
zipliu13-Apr-07 9:04
zipliu13-Apr-07 9:04 
Questiongroup policy- pls help me Pin
deeps_cute13-Apr-07 5:02
deeps_cute13-Apr-07 5:02 

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.