why don't you try this...
Create an SDI or MDI program
Create a new tool bar using your resource editor
and create it in the function:
CMainFrame::OnCreate(...) // message handler...
Then instead of docking it to the top dock it to the left side.....
notice the CBRS_LEFT it is usually CBRS_TOP....
you can create your own tool bar and create it like this
or just modify the default toolbard through the resource editor...
and put the buttons that you want...
CBRS_LEFT
Code:
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_LEFT | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || !m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
{
TRACE0("Failed to create toolbar\n");
return -1; // fail to create
}