Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Shortcut Bar
  New Posts New Posts RSS Feed - problems treeview with shortcut bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

problems treeview with shortcut bar

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

Joined: 23 March 2009
Location: Spain
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ruben Quote  Post ReplyReply Direct Link To This Post Topic: problems treeview with shortcut bar
    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
Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
juma View Drop Down
Groupie
Groupie


Joined: 06 March 2011
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote juma Quote  Post ReplyReply Direct Link To This Post 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.
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.203 seconds.