Print Page | Close Window

CXTShellTreeCtrl & CXTShellListCtrl problems

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9117
Printed Date: 17 April 2024 at 10:43pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTShellTreeCtrl & CXTShellListCtrl problems
Posted By: mermaid
Subject: CXTShellTreeCtrl & CXTShellListCtrl problems
Date 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).
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net