Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Disabling Features
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disabling Features

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: Disabling Features
    Posted: 23 October 2005 at 4:17am

Hi,

One of my users - a lawyer - is getting confused, so I would like to allow him to disable features. Problem here is terminology!

[1] How can I disable docking one pane/dialog inside another but still allow docking to the main frame? Below is a floating pane with two docked dialog windows, this is what I want to disable.



[2] What's the easy way to disable all auto-hide so that I just have docking windows without the auto-hide pin? This is not too essential, I've seen an option in one of the classes to disable this on a per-pane basis, just wondering what you would recommend. Ideally if the user selects 'disable auto-hide' all hidden panes will be shown etc.

Some of my users are very old and confused by auto-hide.

Great work, keep it coming please.

Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2005 at 3:12am
My lawyer user has now worked out how to use this and is a happy bunny, so no need to disable it, but I would still like to know how it may be possible.
Simon HB9DRV
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2005 at 7:25am

In 9.70 appeared method of CXTPDockingPaneManager

SetDefaultPaneOptions

so call

m_paneManager.SetDefaultPaneOptions(xtpPaneNoHideable);

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2005 at 7:28am
Originally posted by oleg oleg wrote:

In 9.70 appeared method of CXTPDockingPaneManager

SetDefaultPaneOptions

so call

m_paneManager.SetDefaultPaneOptions(xtpPaneNoHideable);

I guess this will work for [2], thanks. I should have seen this myself.

Do you have a solution to question [1]? This is maybe not essential so if it's too tricky we can forget it for now.

Simon HB9DRV
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.188 seconds.