Print Page | Close Window

CXTPTabClientWnd - EnableTearOff issues

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=24551
Printed Date: 11 February 2025 at 5:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabClientWnd - EnableTearOff issues
Posted By: jw_statica
Subject: CXTPTabClientWnd - EnableTearOff issues
Date Posted: 10 February 2025 at 5:24am
If you enable tear off in CXTPTabClientWnd object, you can take off tabs from the window and it works, it will spawn a new window once taken outside the window. Then that new window can be placed back onto it's original window, bringing back the taken off tabs. However, if you take off a tab from that new window, if the tab is the only tab appearing on that window, it will initially once again create a new window - but otherwise program will completely break during processing input messages, with assertions implying that the program is still trying to access a window that doesn't exist.

The issue can be easily reproduced by simply adding a m_wndClient.EnableTearOff(); line in RibbonMDISample.

We have created a video that more clearly shows the issue:  https://statica.pl/pliki/n5/RibbonMDI_Tearoff.mp4" rel="nofollow - https://statica.pl/pliki/n5/RibbonMDI_Tearoff.mp4



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