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 is the use of message map ?
What is the initial function to be called in MFC and what it will do
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
How can update edit control data of an executing application from other application?
Hi can anyone explain about the synchronization objects types and where we are using in the code.
Explain StretchBlt and BitBlt
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
What is a critical section and how is it implemented?
if i modified data in 1 view how does the other view knows
What is the use of CObject::Dump function ?
Differ GetMessage, PostMessage & PeakMessage?
What function is used to retrieve the currently selected index in a list box?