How we call a dialog in another dialog?

Submitted by: Administrator
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"
Submitted by: Administrator

Read Online Microsoft Foundation Class (MFC) Job Interview Questions And Answers