Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTShellTreeCtrl  & CXTShellListCtrl  problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTShellTreeCtrl & CXTShellListCtrl problems

 Post Reply Post Reply
Author
Message
mermaid View Drop Down
Newbie
Newbie
Avatar

Joined: 01 March 2007
Location: Russian Federation
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mermaid Quote  Post ReplyReply Direct Link To This Post Topic: CXTShellTreeCtrl & CXTShellListCtrl problems
    Posted: 17 December 2007 at 12:58am
Problems using CXTShellTreeCtrl and CXTShellListCtrl in modal dialog
 
Code:
BOOL RWGlobalAS::OnInitDialog()
{
    CDialog::OnInitDialog();
     
    //-------------------------------------
    m_wndShellTree.SubclassDlgItem(IDC_DIR_TREE, this); //CXTShellTreeCtrl 
    m_wndShellList.SubclassDlgItem(IDC_FILE_LIST, this);//CXTShellListCtrl 
    m_wndAddressCombo.SubclassDlgItem(IDC_DIR_COMBOBOX, this);
    m_wndShellTreeV.AssociateList(&m_wndShellListV);
    m_wndShellTreeV.AssociateCombo(&m_wndAddressCombo);
    m_wndShellListV.AssociateTree(&m_wndShellTreeV);
 
...........
}
 
In debug version program works well, problem appears in release. If we start dialog and then press close or cancel button without 
tunneling tree, program dyes (not responding). If we have some manipulations with tree or list, everything works well.
The dialog is called from dll (explicitly).
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.