![]() |
CXTPTabClientWnd bug or small fix |
Post Reply
|
| Author | |
hipopotamo
Groupie
Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPTabClientWnd bug or small fixPosted: 01 June 2006 at 11:03am |
|
Hi, I add a child to the CXTPTabClientWnd that is not a MDI window, but in order to do that I had to change the following lines so that the control would not crash... CXTPTabClientWnd::UpdateContents() <..> Now... pNewItem = pFoundItem = AddItem(pChildWnd); if ( pNewItem ) pFrameWnd->SendMessage(WM_X TP_NEWTABITEM, (WPARAM)pNewItem); <..> Before ... pNewItem = pFoundItem = AddItem(pChildWnd); pFoundItem->m_hWnd = pChildWnd->GetSafeHwnd(); pFrameWnd->SendMessage(WM_X TP_NEWTABITEM, (WPARAM)pNewItem);
<..> If is there another way to do it please tell me how...
Regards André
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 June 2006 at 12:28pm |
|
Hello, Thanks. Changed for 10.2 release. |
|
|
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 |