![]() |
Copy don't work anymore in 11.2.0!!! |
Post Reply ![]() |
Author | |||||||
Michl ![]() Senior Member ![]() Joined: 14 September 2007 Status: Offline Points: 138 |
![]() ![]() ![]() ![]() ![]() Posted: 31 October 2007 at 12:15pm |
||||||
Hello Codejock-Team,
we build our ribbonbar dynamically and it works until 11.1.3.
Today we change the library to 11.2.0 and have the following problem:
After creating a ribbon group
I add a copy of this group for displaying it in customize dialog box later (if called).
This code calls
This method copy all member attributes except m_Parent. This make sense and works like in 11.1.3. After copying, following new code will be execute in CXTPRibbonGroupControlPopup:
Of course the ASSERT fails and GetRibbonBar(), too (because it also access to m_Parent).
When is m_Parent set??? It never possible, isn't it?
We like to release our update next week. Is it possible to get an fix or should we go back to 11.1.3?
Thanks
|
|||||||
![]() |
|||||||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
||||||
Hello,
Thanks, I see your point.
Please replace these lines as
from
ASSERT(m_pParent);
if (GetRibbonBar() != ((CXTPRibbonGroupControlPopup*)pControl)->GetRibbonBar()) to
if (m_pParent && pControl->GetParent() && GetRibbonBar() != ((CXTPRibbonGroupControlPopup*)pControl)->GetRibbonBar())
|
|||||||
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 |