--------------------------------------------------------------------------------
I have a program that I am working on where I can use edit boxes on a dialog to load records in an attached database and and query the database.
Taking some advice from some community members, I have attempted to create the SDI application without DB support from the beginning, and create the dialog, then go back and add a class derived from CRecordSet in my program.
In the attempts to go this route, I noticed that my dialog does not get displayed when I run the program, only the window frame (CMainfrm) which from reading the definition, explains why only the toolbar and menus get loaded and not the client area that should load my dialog.
So my question is, how do I get my dialog window to load in the client area of my program?
Also, it is to my understanding there is two levels of MFC applications, using dialogs and using forms. I was under the impression that using forms really reduces the amount of programming you have to do. However, that's not what I want, as I am really wanting to put what I have been learning into practice. And using CFormView would be relying that your using a form as opposed to CView. Is that the case?
I have a program that I am working on where I can use edit boxes on a dialog to load records in an attached database and and query the database.
Taking some advice from some community members, I have attempted to create the SDI application without DB support from the beginning, and create the dialog, then go back and add a class derived from CRecordSet in my program.
In the attempts to go this route, I noticed that my dialog does not get displayed when I run the program, only the window frame (CMainfrm) which from reading the definition, explains why only the toolbar and menus get loaded and not the client area that should load my dialog.
So my question is, how do I get my dialog window to load in the client area of my program?
Also, it is to my understanding there is two levels of MFC applications, using dialogs and using forms. I was under the impression that using forms really reduces the amount of programming you have to do. However, that's not what I want, as I am really wanting to put what I have been learning into practice. And using CFormView would be relying that your using a form as opposed to CView. Is that the case?