+ -
当前位置:首页 → 问答吧 → vc++ DockControlBar调用出错 。

vc++ DockControlBar调用出错 。

时间:2011-12-18

来源:互联网

C/C++ code

    if (!m_newToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_RIGHT | 
        CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
        !m_newToolBar.LoadToolBar(IDR_TOOLBAR1))
    {
        TRACE0("Failed    to create toolbar\n");
        return -1;      // fail to create
    }
    m_newToolBar.EnableDocking(CBRS_ALIGN_ANY);
    DockControlBar(&m_newToolBar);


程序走到DockControlBar 就崩溃。 哎。帮帮我啊

作者: gh1223189184   发布时间: 2011-12-18

帮你顶一下

作者: xingqiyi000000   发布时间: 2011-12-19