Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Turning CXTPTabClientWnd on an off
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Turning CXTPTabClientWnd on an off

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


Joined: 16 October 2005
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote dehilster Quote  Post ReplyReply Direct Link To This Post Topic: Turning CXTPTabClientWnd on an off
    Posted: 21 November 2011 at 8:37am
Is there a way to have users choose between using the client tab window or not?  I am upgrading and although I like the client tab window, some users of the older system like the non-tab version.

Just wanting to know how to turn it off and on.  Thanks!
David de Hilster
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2011 at 12:03pm

It is simple.

to hide call:
m_MTIClientWnd.Detach()

to show again:

  m_MTIClientWnd.Attach(this);

('this' is of course CMainFrame)

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