MFC Question:

How we call a dialog in another dialog?

Tweet Share WhatsApp

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 PDF Read All 26 MFC Questions
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?