看 MSDN CToolBarVisual C++ provides you with two methods to create a toolbar. To create a toolbar resource using the Resource Editor, follow these steps: 1 Create a toolbar resource. 2 Construct the CToolBar object. 3 Call the Create (or CreateEx) function to create the Windows toolbar and attach it to the CToolBar object. 4 Call LoadToolBar to load the toolbar resource.
1 Create a toolbar resource.
2 Construct the CToolBar object.
3 Call the Create (or CreateEx) function to create the Windows toolbar and attach it to the CToolBar object.
4 Call LoadToolBar to load the toolbar resource.