How we call a dialog in another dialog?
Answers were Sorted based on User's Feedback
Answer / hitesh dedhia
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"
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / dsk
Create a new dialog and this new dialog header file ie .h
file will be added to the main dialog.
Then in main dialog on button click, create an
varaible,varaible.Domodal()function.
| Is This Answer Correct ? | 6 Yes | 0 No |
What function is called by a document class to notify views that the document has been changed?
Tell us something about MFC?
if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?
How do I create a dialog box in mfc?
What is the use of UpdateData funciton ?
1)dynamic creation of a Button ?
how to give colour for dialog button or static buuto?any one explain full code ?pls pls
visual Pogramming c++ coding for create a paint application.. (Please someone help me)
What is the difference between OnInitialUpdate and OnUpdate?
1)How to change a text of a button in runtime?
How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it
What is the size of class