![]() |
CXTPTabClientWnd: Close tab not working |
Post Reply ![]() |
Author | |
Girish ![]() Newbie ![]() Joined: 22 November 2013 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 09 December 2013 at 1:13am |
Hi ,
We are using CXTPTabClientWnd for the tab view. We are adding the tabs in CXTPTabClientWnd and navigate between the tabs. When we close the tab, the corresponding frame attached to that tab is closed but the tab itself is still available (no actions further can be done on that tab). This was working fine with V9510 and the issue is coming only after upgrade to V164. Request you to please let us know incase of any known bugs and fixes if available. Thanks, Girish |
|
![]() |
|
kstowell ![]() Admin Group ![]() Joined: 25 January 2003 Location: MIchigan, USA Status: Offline Points: 496 |
![]() ![]() ![]() ![]() ![]() |
Hi Girish, have you looked at how we implemented this in the GUI Visual Studio sample?
|
|
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS< |
|
![]() |
|
Girish ![]() Newbie ![]() Joined: 22 November 2013 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Thank you for your reply.
We fixed this issue. We were inheriting from CXTPTabClientWnd and have over ridden some functions. The below function had issue where in After change :- Used CXTPTabClientWnd::OnIdleUpdateCmdUI(); instead of UpdateContents(); void CSSDevMDIClient::OnIdleUpdateCmdUI() { // get pointer to currently active MDIChild CWnd* pFrame = MDIGetActive(); if (pFrame == NULL || !SkipWindow (pFrame)) { CXTPTabClientWnd::OnIdleUpdateCmdUI(); //Earlier it was UpdateContents(); } } After the change the close of the tab is working fine. We have upgraded from V9510 to V1645 and after this we were facing this issue. |
|
![]() |
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 |