Access the controls of other dialog boxes.
-
Hi I am new to the MFC applications in vc++. In my application I want to access the contents of second dialog box from the first,I created the object for the second dialog box and tried to access the values of the controls without saying domodal() but it is giving an error. How can i handle this problem???????? Thanks in advance....
-
Hi I am new to the MFC applications in vc++. In my application I want to access the contents of second dialog box from the first,I created the object for the second dialog box and tried to access the values of the controls without saying domodal() but it is giving an error. How can i handle this problem???????? Thanks in advance....
And the error is......... BTW it's a good practice to have get/set methods implemented in your class to do this.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Hi I am new to the MFC applications in vc++. In my application I want to access the contents of second dialog box from the first,I created the object for the second dialog box and tried to access the values of the controls without saying domodal() but it is giving an error. How can i handle this problem???????? Thanks in advance....
i dont think its possible to get the values of the second dialog if the second dialog is not created. DoModal has to be called. otherwise u need to use a modaless dialog box.