1) How do you Destroy a Dialog Box ?

Answers were Sorted based on User's Feedback



1) How do you Destroy a Dialog Box ?..

Answer / santhosh

we have postquitmessage to call WM_DESTROY case to destroy the dialog

Is This Answer Correct ?    1 Yes 0 No

1) How do you Destroy a Dialog Box ?..

Answer / 106743013743

Hi,

Reclaiming the Memory,

Ex:-
void Ctharam::OnDestroy()
{
CDialog::OnDestroy();

}

code by Ctharam

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More MFC Interview Questions

Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer

1 Answers   TCS, Tech Mahindra,


What is #progma and where it is used?

5 Answers   L&T,


What is the command routing in MFC framework?

3 Answers  


1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions

1 Answers  


How we call a dialog in another dialog?

2 Answers  






is it possible to display a window .without using windowclass

1 Answers   E Logic,


If i derive a new class from CObject what are the basic features my derived wil get ?

4 Answers   Microsoft,


1)How to create ToolTip in MFC?

2 Answers  


what is the component of CLR ?

8 Answers   AZTEC, Symphony,


if both base and derived class have the constructors if i create an object for derive class which class constructor is executed first

10 Answers   Siemens, Symphony,


What is thread & process?

15 Answers   Exaband,


How to handle RTTI in MFC ?

1 Answers  


Categories