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

Docking Pane with CDialog

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


Joined: 13 November 2013
Location: Pune
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kalyani Quote  Post ReplyReply Direct Link To This Post Topic: Docking Pane with CDialog
    Posted: 13 November 2013 at 7:05am
Hello,

I am using "CXTPDockingPane" to create a docking pane in my application using the samples provided with codejock (pane manager, create pane).
I now create a CDialog which has a tree control in it and attach to the created pane.
This works well for single document. When I open another document in my application I would like to display the new CDialog relevant to this new document that I created withing the pane.
This works for me.. (In short, the structure is like Visual Studio tabs where we open multiple files and can display its respective information in one of the panes like "Properties" of visual studio.)
When I show/Hide the pane and now switch between the tabs (opened documents), my initial documents dialog handle is null due to which I am facing a crash.

Tried to reproduce:
1. MDI Panes sample, similar operation like click on "Properties"- It should update pane's visibility. I could not support multiple document here based on which we could change the content of the pane (A CDialog instance can be attached to this pane?)

Can you please guide me further to know the reason why would the pane's child window handle (the initial dialog created which is attached as a child to this pane) become null after we hide show the current dialog (2nd document's CDialog instance) in the pane.

I would be glad if anyone can post me a working sample for this. Also wanted to know how is m_layout important in show/hide process.

Regards,
Kalyani




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.141 seconds.