Print Page | Close Window

Panes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=2467
Printed Date: 25 April 2024 at 1:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Panes
Posted By: marknorris
Subject: Panes
Date Posted: 27 June 2005 at 3:29pm

Hi

I'm a new user of these controls, looking to create an MDI app with shortcut bar using VB6.  I want to show a shortcut bar left aligned and have all child windows appear to the right in the client area.  When creating a pane, do you have to pass it a handle to a form? Or can you pass the pane the handle to the shortcut bar?

Thanks

Mark




Replies:
Posted By: SuperMario
Date Posted: 28 June 2005 at 10:24am
You must use the the AttachPane event to attach the handle of an object to the pane.  Doing it any other place can cause problems.  It can be a handle to any object, it does not need to be a form.  But you might have to place the item in a picturebox and then attach the picturebox.  You will just have to try it to see if you need to.

So you are wanting the shortcutbar inside the pane?  if so, just use the AttachPane event to attach the hWnd of the Shortcutpane to the pane.



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