![]() |
CXTPTabClientWnd Attach / Detach Problem |
Post Reply
|
| Author | |
hipopotamo
Groupie
Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPTabClientWnd Attach / Detach ProblemPosted: 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é
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 July 2006 at 12:03pm |
|
Hello,
yes, unfortnuatelly Detach can work only when grouping mode disabled.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
hipopotamo
Groupie
Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
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 ?
![]() Thankx |
|
![]() |
|
calvi
Groupie
Joined: 20 March 2004 Location: United Kingdom Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |