![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Creating Multiple Dialog Frames in a single MFC ApplicationHi,
I am a new bee to MFC. I tried to create more than one Frame Dialogs in a single MFC application. But unfortunately I couldn't solve it. I have a dialog frame with only one button that is "OK". Whenever if I click on OK, this dialog frame should disappear and a new dialog frame should come with lots of Check boxes, Radio buttons. Please help me how to do this. And in one dialog frame I have 8 Labels. I want to do the text format for each format individually. I have checked in the label properties, I didn't get that. Is there any possibility that I can do that through coding. Please help me out to come out of these problems. Thanks in Advance. |
|
#2
|
|||
|
|||
Re: Creating Multiple Dialog Frames in a single MFC Applicationyou can check this site: http://www.functionx.com/visualc/index.htm.
it has really helped me in learning MFC... |
|
#3
|
|||
|
|||
Re: Creating Multiple Dialog Frames in a single MFC ApplicationCREATE A CLASS FOR NEW DIALOG FRAME ., IF HAVE BEEN ALREADY CREATED THEN JUSTWRITE THE CODINGS FOR....WHICH I MENTIONED BELOW
CPP / C++ / C Code:
SREE BE COOL Last edited by admin : 03-Mar-2008 at 05:52.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|
#4
|
|||
|
|||
Re: Creating Multiple Dialog Frames in a single MFC ApplicationHi
I am using MDI in MFC. I have a CRecordset type form and from button click on this form I want to open another form of CRecordView type. I tried the following code but this is not working CPP / C++ / C Code:
Please help me. Thanks in Advance Last edited by admin : 03-Mar-2008 at 05:53.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|
#5
|
||||
|
||||
Re: Creating Multiple Dialog Frames in a single MFC ApplicationNishtha,
How would that work? That is the same code snippet found in post #3. The 'Cclassname' portion, is general form, and that needs to be replaced with your class name. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#6
|
|||
|
|||
Re: Creating Multiple Dialog Frames in a single MFC ApplicationThanks Buddy,
I know that it was the general name which u specified.I changed that to the classname in my project but still that is not working. Actually I inserted a Form from insert tab on the main menu and i want to open this form on button click from previous form Also i have one more query: I want to create a Static Library in VC++ which will contain the functions to access the Mysql database.I am using MFC application to enter the details. As in,in my form if I enter the person ID the information of that person should be retrieved on the form itself or may be on the next form.The problem is that I have to write the code for retrieval in my static library.I really dont know how to give a start. Kindly help. Thanx once again |
|
#7
|
||||
|
||||
Re: Creating Multiple Dialog Frames in a single MFC ApplicationQuote:
Oh, and do you still assistance with the "image filename to database" issue that I noticed in another post? __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#8
|
|||
|
|||
Re: Creating Multiple Dialog Frames in a single MFC ApplicationMe suggest the best solution is to Use SDI MFC , and your View Window Should be CFormView
Second Way is : CDialog X(MAKEINTRESOURCE(" XXXXXX"), NULL); X.DoModal(); |
Recent GIDBlog
US Elections and the ?Voter?s Responsibility? by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Traversing multiple dialog boxes | Chronocide | MS Visual C++ / MFC Forum | 0 | 05-Sep-2006 00:27 |
| Adding Menu in MFC dialog Application | aboo-siddiq | MS Visual C++ / MFC Forum | 0 | 24-Apr-2006 04:45 |
| dialog based application | hezyse | MS Visual C++ / MFC Forum | 1 | 20-Mar-2005 19:16 |
| Help! Some basal questions about MFC | xutingnjupt | MS Visual C++ / MFC Forum | 1 | 05-Dec-2004 04:38 |
| controling dialog objects & multiple source files | omills | MS Visual C++ / MFC Forum | 0 | 15-Jul-2004 00:30 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The