Need some help with MFC app...
I''ve started out with MFC single document application (VC++ 6.0) which puts a standard menu on the top of your window by default. Is it possible to erase that menu?
Simple deleting from resources doesn''t work (I get "Failed creating empty document" msg or something like that).
In your CMainFrame implementation (CMainFrame.cpp) look at the PreCreateWindow function. If it''s not there, add it through the wizard. Then, after the TODO section add this line:
cs.hMenu = NULL;
That should remove the menu completely.
Always remember, you''''re unique. Just like everyone else.
Greven
cs.hMenu = NULL;
That should remove the menu completely.
Always remember, you''''re unique. Just like everyone else.
Greven
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement