![]() |
CXTPControlCustom and Clone() |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() Posted: 15 May 2009 at 7:52am |
XTP 13.
I copy a whole group from tab #1 to tab #2. Then I click on tab #1 and tab#2 alternatively. Hence, I'm reusing a window here (which might be wrong in the first place). Sometimes, my CXTPControlCustom-button disappears - only showing the caption!
At first sight...
![]() Then after changing tab a couple of times...
![]() What's wrong? I sense CXTPControlCustom::Clone() is incomplete. Perhaps it should somehow ask the child control to copy itself to this?
CXTPCustomChildControl<CWnd>::Clone(CXTPCustomChildControl<CWnd> *pWnd)...? Dunno!
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Yes, Custom Controls have such restrictions. There is no way for Custom control create 2 window handlers from 1. :(
|
|
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 |