CXTPTabClientWnd 8.51/8.6 |
Post Reply |
Author | |
JamesC
Newbie Joined: 03 December 2003 Status: Offline Points: 21 |
Post Options
Thanks(0)
Posted: 14 January 2004 at 6:23pm |
In 8.51 you had the ability to attach and detach the CXTPTabClientWnd as many times as you wanted. In 8.6, if you attach and then detach you blow up on the next time you call attach again without restarting the app. I would like the ability to attach and detach as many times as the user wants without needing to restart the app.
|
|
Sven
Senior Member Joined: 21 August 2003 Location: Germany Status: Offline Points: 127 |
Post Options
Thanks(0)
|
Remove the line
in CXTPTabClientWnd::Detach(). |
|
vladsch
Newbie Joined: 04 February 2004 Location: Canada Status: Offline Points: 30 |
Post Options
Thanks(0)
|
I am not sure removing the line will solve JamesC's problem. I tried Attaching and Detaching the CTXTabClientWnd in my app and it works fine as is. So the blow-up is probably for a different reason. I also modified the GUI_OneNote sample to Detach and Attach the CTXTabClientWnd via a toolbar button and it works too. You have to make sure that CTXTabClientWnd is not attached when you try to attach it. Here is the code I used to toggle attach/detach if (m_MTIClientWnd.IsAttached()) JamesC can you be more specific about where it blows up? Is it in MFC or XTreme Classes?
|
|
JamesC
Newbie Joined: 03 December 2003 Status: Offline Points: 21 |
Post Options
Thanks(0)
|
vladsch, what version are you running? the problem was fixed in 8.61 but was occuring when switching from 8.51 to 8.6. By removing that line in 8.6 it did actaully fix the issue. Thank you for your response though.
|
|
vladsch
Newbie Joined: 04 February 2004 Location: Canada Status: Offline Points: 30 |
Post Options
Thanks(0)
|
Yes, I am running 8.61 that explains why I did not see it in my version.
|
|
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 |