![]() |
CXTPTaskPanel /setAnimation |
Post Reply
|
| Author | |
andreaswill
Newbie
Joined: 29 September 2004 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPTaskPanel /setAnimationPosted: 08 March 2005 at 2:55am |
|
Hello,
i use the follwing code : m_wndTaskPanel.Create(WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS|WS _CLIPCHILDREN rc, this, 0); m_wndTaskPanel.SetMargins(0, 0, 0, 0, 0); m_wndTaskPanel.SetAnimation( xtpTaskPanelAnimationNo ); . . . if ( m_wndPropertyGrid.Create( rc, &m_wndTaskPanel, IDC_PROPERTYGRID ) ) { m_wndPropertyGrid.SetOwner( &m_wndTaskPanel ); m_wndPropertyGrid.ShowHelp( FALSE ); } CXTPTaskPanelGroup* pGroup = m_wndTaskPanel.AddGroup(0); pGroup->SetCaption(_T("Properties")); pGroup->SetExpanded(TRUE ); The problem is, when setting animation to xtpTaskPanelAnimationNo, the propertygird isn't draw. I nserted dialogs too. the same problem. I don't need the animation. What must i do to get the correct behaviour. thanks Andreas |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 March 2005 at 9:14am |
|
I hope you have pGoup->AddControlItem(m_wndPropertyGrid.); ? |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
andreaswill
Newbie
Joined: 29 September 2004 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 March 2005 at 11:21am |
|
didn't i mention that it works when using xtpTaskPanelAnimationYes. Would it if i wouldn't have added the proprtygrid to the group.
cheers |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 March 2005 at 2:34am |
|
I see two solutions 1. call m_wndTaskPanel.SetAnimation(xtpTaskPanelAnimationNo); after you create this item 2. Set size of item: CXTPTaskPanelGroupItem* pGridItem = pGroupSystem->AddControlItem(m_wndPropertyGrid);
You can play with cusotm colors of grid: m_wndPropertyGrid.SetCustomColors(-1, -1, |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
andreaswill
Newbie
Joined: 29 September 2004 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 March 2005 at 10:04am |
|
Hello Oleg thank you, it works fine. Andreas |
|
![]() |
|
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 |