custom main frame
Posted on 1997-06-03
** VC++ 4.0 std. ed. with Win95
**My experience: new to C++ and the object oriented concept
so please be specific and complete in your answer.
** My app:
MDI with an ODBC database with file support.
Normally, when this application starts up, the main frame (with standard menu and tool bar, etc.) appears with a child frame for displaying the components of the database.
but.......in my app.....
I want the main frame to have have NO MENU or TOOL BAR (nothing!, except maybe the close button ("X"), and a title bar). And instead of displaying the childframe with the database fields (controls), I want to first display a box (dialog) with 3-d buttons which will be the menu choices (it will take the place of the standard menu). Each of these buttons will call the various tables of the database or other duties to be performed.
As I said above I'm new (and confused by this MFC), so tell me how to code and/or (what to cut out of the standard generated code) to make this happen.