Print Page | Close Window

Turning CXTPTabClientWnd on an off

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=19204
Printed Date: 18 June 2025 at 11:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Turning CXTPTabClientWnd on an off
Posted By: dehilster
Subject: Turning CXTPTabClientWnd on an off
Date 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



Replies:
Posted By: Tomasz
Date 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)




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net