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 |
Explain about MDI and CMultiDocTemplate ?
How to handle dynamic menus in MFC?
I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?
is it possible to display a window .without using windowclass
19)how to set Back Ground Picture to a Dialog Box in MFC ?
How you find memory leaks?
List out the parameters of WinMain Function.
What is the difference between the ASSERT and VERIFY macros?
1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions
Tell us something about MFC?
Name the Synchronization objects?
What function is used to retrieve the currently selected index in a list box?