Professional UI Solutions
Site Map   /  Register


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 » Problem in using CExtControlBar as per requirement Collapse All
Subject Author Date
sumit saxena May 1, 2007 - 3:38 AM

I am using CExtControlBar with dialog derived from CExtResizableDialog. On Dialog I have One button for deleteing the Dialog.
In that I delete the view for that dialog.

But after deletion and again creation of this view creates problem as if we put pin up the dialog disappers and also disturbing other views also.

for Creation :-
CExtControlBar m_ScanDataTreeViewBar;
        TRACE(_T("Failed to create dialog bar\n"));
CSplitterWnd m_wndOuterSplitter3;
    if ( m_wndOuterSplitter3.CreateStatic( (CWnd*)&m_ScanDataTreeViewBar, 1, 1 ) )
        m_wndOuterSplitter3.CreateView( 0, 0, RUNTIME_CLASS( CWBTabView ), CSize(200, 50), &m_CreateContext);

    CRect rect;
    m_ScanDataTreeViewBar.m_bGripperStaticallyAtTop = false;
    m_ScanDataTreeViewBar.EnableDocking( CBRS_ALIGN_LEFT);

    m_ScanDataTreeViewBar.SetInitDesiredSizeVertical( CSize(353,rect.bottom) );

    m_ScanDataTreeViewBar.DockControlBar(AFX_IDW_DOCKBAR_LEFT ,1,this,true); //AFX_IDW_DOCKBAR_LEFT


for Deletion :-

Technical Support May 2, 2007 - 8:36 AM

It’s hard to say what’s wrong without more info. Would you send us a project that demonstrates the problem?