Print Page | Close Window

CXTPTabClientWnd Attach / Detach Problem

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=4574
Printed Date: 21 October 2025 at 1:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabClientWnd Attach / Detach Problem
Posted By: hipopotamo
Subject: CXTPTabClientWnd Attach / Detach Problem
Date Posted: 11 July 2006 at 3:29pm
Hi,
 
I would like to let the user to decide if he wants groups or not, meaning that it must be switched at runtime.
 
But there are some strange refresh / style problems that happens to the MDI windows when I switch from one way to the other and I can no longer put it back to work again.
 
For example when group is disabled and then enabled the MDI windows appears with the system caption and menu on, which is only desirable if group mode is off.
 
 Since "detach" is a public method I assume that it is possible to obtain this two modes in runtime.
 
André
 



Replies:
Posted By: Oleg
Date Posted: 12 July 2006 at 12:03pm
Hello,
 
yes, unfortnuatelly Detach can work only when grouping mode disabled.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: hipopotamo
Date Posted: 12 July 2006 at 12:33pm
Ok,
 
 
There is no way to enable and disable groups at runtime ?
 
I will try to investigate it my self, but I want to be sure its possible to do it.
 
Is there a specific reason, I mean  API limitation that I'm not aware of, or you just did not have implemented that yet  ? Tongue
 
Thankx
 
 


Posted By: calvi
Date Posted: 14 July 2006 at 11:10am
The problem seems to be more fundamental than not being able to enable/disable groups.  After they have been displayed with Attach(this, TRUE), Detach() does not repaint the part of the MDI window used by the tabs, and it is not made available to the MDI children.   


Posted By: Oleg
Date Posted: 14 July 2006 at 12:48pm
Hello, If you use Attach with TRUE, TabWorkspace automatically remove Borders and captions from child frame... So you can loop child frames and restore the after Detach


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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