it seems you are using the MFC Feature Pack.
Go to CMainFrame::OnCreate()
, you should be able to find
something like
CMFCToolBar::SetBasicCommands(lstBasicCommands);
somewhere inside it.
lstBasicCommands
is a list that holds all the menu items that are not be hidden initially. Simple populate it with the items you like.
You may also want to check out the samples code available here: C:\Program Files\Microsoft Visual Studio 9.0\Samples\1033
t.g.
2009-08-05 05:56:19