Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Treeview and Panes crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Treeview and Panes crash

 Post Reply Post Reply
Author
Message
nick.brandwood View Drop Down
Groupie
Groupie


Joined: 17 December 2008
Location: Italy
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote nick.brandwood Quote  Post ReplyReply Direct Link To This Post Topic: Treeview and Panes crash
    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).
 
 
(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
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
nick.brandwood View Drop Down
Groupie
Groupie


Joined: 17 December 2008
Location: Italy
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote nick.brandwood Quote  Post ReplyReply Direct Link To This Post 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
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.