![]() |
Can we close all the docking pane subtabs at once? |
Post Reply ![]() |
Author | |
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() Posted: 18 August 2008 at 3:59am |
Hello, It works,But when i again open the docking pane,the tab which was active while closing last time is not getting painted.only white screen appears for this particular tab. Other tabs appear properly. Herewith i am sending the screenshots for that - Thanks And Regards,
Vijay.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Just add
m_paneManager.m_bCloseGroupOnButtonClick = TRUE;
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Thanks a lot for your immediate answer.It worked.
but only first time its not working,means first time when i click the close button,only the tab which is active is closed,the remaining tabs doesnt closed. if i click once again second time,the remaining tabs are closed at a time.
And afterwards,whenever i click the close button all the tabs get closed at a time. This is what i want.
It is not working in the first condition Only. Why so? Is there any solution to this,or i will have to manipulate it.
Please send me the reply at the earliest.
Thanks And Regards,
Vijay.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Have work. Something with your handlers code. Try to check it with our samples.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() |
Hello,
I tried a lot but couldnt find. Actually,the tabclick event i have handled in some different way,which may be incorrect to handle like that.But its working properly for my application.
I tried to compare with ur samples,But as the creation and handling also in different manner,couldnt trace out the problem.
Herewith i am sending the text file in which i have given how i am handling the docking pane events.
Please help me if u can find something. Only first time,all subtabs are not getting closed.Afterwards they all get closed at once.
Please help if u find something in this code.
Thanks And Regards,
Vijay.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Don't set m_paneManager.m_bCloseGroupOnButtonClick = TRUE;
in Event. move it to CMainFrame::OnCreate
|
|
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 |