Print Page | Close Window

Treeview and Panes crash

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13625
Printed Date: 07 October 2024 at 4:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Treeview and Panes crash
Posted By: nick.brandwood
Subject: Treeview and Panes crash
Date Posted: 09 March 2009 at 12:34pm
Hi,
 
Have been trying to figure out the cause of a crash that happens when calling the add method of a treeview contained in a pane.
I'm probably doing something wrong...
 
The attached zip is a test that causes the crash when the test button is clicked repeatedly (around 3 times should do the trick).
http://forum.codejock.com/uploads/20090309_123210_Treeview_test.zip - uploads/20090309_123210_Treeview_test.zip
 
 
(I thought this was also due to the the commandbars control but I've discovered that its not realted, so probably I've posted in the wrong forum, sorry!)
 
I'm using codejock suite version 12.0.1 and Microsoft Common Controls v.6.
 
many thanks,
 
Nick Brandwood
 



Replies:
Posted By: Oleg
Date Posted: 09 March 2009 at 1:24pm

Hi,

 
Seems problem with SetupPanes that you call each time you press button.  Do you have same task in real application - destroy all panes and crete them again ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: nick.brandwood
Date Posted: 09 March 2009 at 1:43pm

hi oleg, thanks for the quick reply,

sometimes I do...
 
Removing the handle to the treeview fixes the problem (see attached) as a workaround.
 
(will look into this further tomorrow, have a good evening!!!)
 
 
Thanks!
 
Nick Brandwood
 
http://forum.codejock.com/uploads/20090309_134319_Treeview_test2.zip - uploads/20090309_134319_Treeview_test2.zip
 



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