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

What are the differences between MFC Exception macros and C++ exception keywords?

2 Answers  


how does conditionally close the Dialog Box ?

2 Answers   Infotech,


How to handle dynamic menus in MFC?

3 Answers   HCL,


Have you ever used win32 APIs ?

4 Answers   Microsoft,


How to update all the views whenver document got updated ?

1 Answers  






Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


What?s the difference between Modal and Modeless Dialog?

12 Answers   Jekson, Usl India,


What is a message map?

1 Answers   Mphasis,


What types of threads are supported by MFC framework?

2 Answers  


Which CPrintInfo member variable must be set for multiple page printouts?

1 Answers  


how many types of messages are their

4 Answers   E Logic, TCS,


What is thread & process?

15 Answers   Exaband,


Categories