![]() |
CXTPTearOffFrame - incorrectly drawn skinned tabs |
Post Reply ![]() |
Author | |
jw_statica ![]() Groupie ![]() Joined: 23 May 2018 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() Posted: 25 March 2025 at 5:50am |
![]() Does anyone else have this problem? When I tear off the tab the tabs section won't draw correctly while dragging. The right part of the window isn't drawn either. We use an Office2016.dll style with our custom Skin.
|
|
![]() |
|
agontarenko ![]() Admin Group ![]() Joined: 25 March 2016 Status: Offline Points: 315 |
![]() ![]() ![]() ![]() ![]() |
Hello, How can I reproduce this bug with our sample? Regards, Artem Gontarenko
|
|
![]() |
|
agontarenko ![]() Admin Group ![]() Joined: 25 March 2016 Status: Offline Points: 315 |
![]() ![]() ![]() ![]() ![]() |
Hello, Could you create sample with Codejock Wizard and recheck this problem? Send me please it if problem will be reproduce. Regards, Artem Gontarenko |
|
![]() |
|
jw_statica ![]() Groupie ![]() Joined: 23 May 2018 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() |
I can reproduce this with SkinMDISample, by enabling TearOff in m_MTIClientWnd, forcefully setting a theme with XTPPaintManager()->SetTheme(xtpThemeOffice2016), and using our theme file. It seems that the torn off window will try to draw both themed window header and the unthemed tab background. This happens while the tab is being dragged off, if fully detached it will redraw correctly.
![]() |
|
![]() |
|
agontarenko ![]() Admin Group ![]() Joined: 25 March 2016 Status: Offline Points: 315 |
![]() ![]() ![]() ![]() ![]() |
What version СJ you use?
|
|
![]() |
|
agontarenko ![]() Admin Group ![]() Joined: 25 March 2016 Status: Offline Points: 315 |
![]() ![]() ![]() ![]() ![]() |
Hello, I can to suppose that problem with Skin and Theme using together. Since 24.0 we changed logic of Skin and Theme using together If you use SkinManager (for frame) and add CommandBar then SkinManager will be disabled because they are not compatible. See plese CXTPCommandBarsFrameHook::CXTPCommandBarsFrameHook() { ... if (!XTPSkinManager()->IsSkinApplyCommandBarsFrame()) XTPSkinManager()->DisableSkinFrameOption(); } and CXTPCommandBarsFrameHook::~CXTPCommandBarsFrameHook() functions. To inform about thius problem we added message in Output log "Codejock Skinframework is incompatible when used with Codejock CommandBars. xtpSkinApplyFrame option will be disabled." Regards, Artem Gontarenko |
|
![]() |
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 |