MFC Question:

Download Job Interview Questions and Answers PDF

How we call a dialog in another dialog?

MFC Interview Question
MFC Interview Question

Answer:

Using DoModal() function.
create a class of another dialog box.
and write a code in fist dialog box function.

Classname(second) variable_name;
variable_name.DoModl();

and define the new header file in fisrt dialog bob code.
like;
#include "classname.h"

Download MFC Interview Questions And Answers PDF

Previous QuestionNext Question
How to find the mouse entering an image and while entering need to display next image?List out the parameters of WinMain Function?