Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Problem with Windowlist and docked MDIChild window
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with Windowlist and docked MDIChild window

 Post Reply Post Reply
Author
Message
Kenton View Drop Down
Groupie
Groupie


Joined: 05 June 2018
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenton Quote  Post ReplyReply Direct Link To This Post Topic: Problem with Windowlist and docked MDIChild window
    Posted: 25 July 2018 at 7:52am
Hi,

I am using CommandBars and DockingPane from V18.4.0.

We have recently upgraded to CJ docking from a previous system and because the CJ docking is more flexible we now wish to provide the option to dock one of our forms that was previously an MDIChild. However, for backward compatibility we wish to allow it to remain as an MDIChild for those who want that.

We have a a window list on a menu in the CommandBars (using ID XTP_ID_WINDOWLIST) that works fine with the form just as an MDIChild (showing this and other windows all as expected).

But, when we try to dock the MDIChild form the window list just disappears from the menu although everything else seems to work OK.

This can easily be reproduced in one of your samples as follow:
1. Load the sample project from <Codejock root>\Samples\DockingPane\VB\MDISample
2. Run the program and observe the window list working correctly on the Window menu
3. Stop the program
4. Open the frmPane form
5. Change the MDIChild property to True
6. Run the program again
7. The window list has disappeared from the Window menu but everything else seems to work as before and there are no errors.

Since MDIChild is read-only at runtime the only workaround is to create and maintain two copies of this form one MDI and one non-MDI which is extra work and prone to errors.

I understand if docked MDIChild forms did not appear on the window list and in fact this is in most cases desirable, but this is a problem.

Kenton

Back to Top
Kenton View Drop Down
Groupie
Groupie


Joined: 05 June 2018
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenton Quote  Post ReplyReply Direct Link To This Post Posted: 28 August 2018 at 6:00am
Hi,

Any thoughts?

Kenton

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