Selecting a Group programmatically |
Post Reply |
Author | |
afekhar
Groupie Joined: 30 August 2006 Location: France Status: Offline Points: 43 |
Post Options
Thanks(0)
Posted: 15 September 2006 at 12:58pm |
Hi,
I want to select a TaskPanel group programmatically (I want to put the highlighted rect around the caption of the group). I don't find nowhere in the doc how to do it. Thanks. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Set wndTaskPanel.FocusedItem = wndTaskPanel.Groups.Find(ID_OF_GROUP)
|
|
afekhar
Groupie Joined: 30 August 2006 Location: France Status: Offline Points: 43 |
Post Options
Thanks(0)
|
Doesn't work, I'm using WTL, there is no conversion from 'XtremeTaskPanel::ITaskPanelGroupPtr' to 'XtremeTaskPanel::ITaskPanelItem *' even when forcing with casting. Any other suggestion ?
|
|
afekhar
Groupie Joined: 30 August 2006 Location: France Status: Offline Points: 43 |
Post Options
Thanks(0)
|
I tried with QueryInterface, seems ok
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
XtremeTaskPanel::ITaskPanelGroupPtr spGroup = m_spTaskPanel->Groups->Find(1); XtremeTaskPanel::ITaskPanelItemPtr spItem = spGroup; m_spTaskPanel->FocusedItem = spItem; |
|
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 |