Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Panes

 Post Reply Post Reply
Author
Message
marknorris View Drop Down
Newbie
Newbie


Joined: 27 June 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote marknorris Quote  Post ReplyReply Direct Link To This Post Topic: Panes
    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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18047
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.