在SDI上加载自定义的工具栏,其形式和它本身自带的工具栏那种形式.
我要把自定义的工具栏要加载在它自带工具栏的后面.就像VC工具栏那种风格.

解决方案 »

  1.   

    if (!m_TestToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
    | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
    !m_TestToolBar.LoadToolBar(IDR_TOOLBAR1))
    {
    TRACE0("Failed to create toolbar\n");
    return -1;      // fail to create
    }
    我知道用这种方法可以加载自定义的工具栏,但它不是加载在SDI自带的工具栏之后的.我要实现的是让它在SDI自带的工具栏后.