petlin
asked on
custom main frame
Using:
** 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.
Thanx, Pete
** 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.
Thanx, Pete
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you say:
"You must refuse from document orientation..." refuse?
do you mean when using appwizard to create app.? There's no menu option at this point.
also, point #3)
"insert this code CYourDialog::...", insert where?
Thanx again,