Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPDockingPane initial state
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPDockingPane initial state

 Post Reply Post Reply
Author
Message
Frank Deo View Drop Down
Newbie
Newbie
Avatar

Joined: 21 January 2004
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Frank Deo Quote  Post ReplyReply Direct Link To This Post Topic: CXTPDockingPane initial state
    Posted: 01 February 2004 at 3:01pm

How can I set the initial state of a dockingpane so that it is hidden with its respective tab on the mainframe?

Thanks,

Frank

Back to Top
vladsch View Drop Down
Newbie
Newbie


Joined: 04 February 2004
Location: Canada
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote vladsch Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2004 at 6:14pm

In LoadFrame member function after the call to base::LoadFrame() Add:

    m_paneManager.HidePane(IDR_PANE_OPTIONS);

Where IDR_PANE_OPTIONS is replaced by the pane id you used in the call to  CreatePane.

I can't tell you if this is the most efficient way but it works.

 

Back to Top
Frank Deo View Drop Down
Newbie
Newbie
Avatar

Joined: 21 January 2004
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Frank Deo Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2004 at 6:54pm

That worked perfectly.  Thanks!

 

Frank

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