Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtToolControlBar in a CView Collapse All
Subject Author Date
Olaf Reusch Jun 9, 2007 - 7:54 PM

I have a CExtToolControl in a CView derived class.

I create the toolbar
if(!m_ToolBar.Create(_T(""),
        this,
        ID_BUDDYLIST_TOOLBAR
        ) || !m_ToolBar.LoadToolBar(IDR_BUDDYLIST_TOOLBAR, RGB(255,255,255)))
    {
        TRACE("Failed create Toolbar");
    }

but...
the toolbar is not visible on the first start. after a click on the toolbar i show the buttons, but without icons.

i receive a ON_UPDATE_COMMAND_UI message, but the ON_COMMAND handler doesnt work.

I have no idea.