Print Page | Close Window

problems treeview with shortcut bar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Shortcut Bar
Forum Description: Topics Related to Codejock Shortcut Bar
URL: http://forum.codejock.com/forum_posts.asp?TID=13760
Printed Date: 23 November 2024 at 11:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: problems treeview with shortcut bar
Posted By: Ruben
Subject: problems treeview with shortcut bar
Date Posted: 23 March 2009 at 10:46am
Hello, i'm programming an acucobol application adding a shortcut bar and into client area of the shortcut bar including a treeview. My problem is everything via code and if i try to display the object treeview into shortcutbar client area, the control doesn't appear, or if this appear the other one dissapear. I've tried to associate the treeview to the shortcut bar thru 'hWnd' property of ShortucBar control, but an error occurs: 'Only read property' when in online help indicates that property is of read/write access.
 
So.. how can i include a treeview control into a shortcut bar client area using just code?
 
Lot of thanks and gracias! :-)


-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2
Language: AcuCubol GT 8.1



Replies:
Posted By: Hemesh
Date Posted: 02 October 2010 at 1:49pm
I get this problem.... although when I add the shortcut bar and associate the hWnd at the time of adding, it's ok. If I try to re-assign the hWnd, nothing shows.

Is this a bug?


-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0


Posted By: Xander75
Date Posted: 02 February 2011 at 6:23pm
Hi,

When you say that the treeview disappears, is it visible until clicked?

I find attaching PictureBox controls using the hWnd property with the treeview control inside the PictureBox works best each time for adding controls to many of the Codejock controls i.e. DockingPane, ShortcutBar, TaskPanel etc.

-------------
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)


Posted By: Hemesh
Date Posted: 03 February 2011 at 3:04am
Hopefully that could be why he's trying to do it design-time via the hWnd.

I think this is a bug even though CJ haven't replied as I can't see why the hWnd assignment doesn't work on a pane apart from when you create it...



-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0


Posted By: juma
Date Posted: 07 March 2011 at 3:44pm
try putting that treeview in a panel, a different form, or a picture control and link with hwnd property.



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