![]() |
different icons for each taskpanel group |
Post Reply
|
| Author | |
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Topic: different icons for each taskpanel groupPosted: 25 September 2007 at 11:58am |
|
How can I set different Icons for each TaskPanel group ?
this sets one icon for all groups: pTaskPanel->GetImageManager()->SetIcon(IDR_MAINFRAME, IDR_MAINFRAME); |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 September 2007 at 12:59am |
|
Hi,
Guess you just set IDR_MAINFRAME icon index for all groups.
Set different image index for each group and add more images to imagemanager.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 September 2007 at 7:36am |
|
How to set different image index for each group ?
|
|
![]() |
|
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 September 2007 at 7:39am |
|
I found SetGroupIcons, but I need to add PNG transparent images instead of icons, how can I add them ?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 September 2007 at 1:15am |
|
Hi,
Use SetIcons method instead. See CXTPImageManager in SymboReference.chm.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 September 2007 at 7:10am |
|
I already use SetIcons to set PNG images to TaskPanel items, but how can I set the images with SetIcons to groups instead of items ?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 September 2007 at 2:54pm |
|
Hello,
its same image manager. Just add PNG and set correct ImageIndex.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 September 2007 at 3:21pm |
|
I currently have this line to add the PNG icons m_wndOutlookBar.GetImageManager()->SetIcons(IDB_PNG_FOLDER_IMAGES, 0, 32, CSize(64,50)); were can I set the index for group icons ? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 September 2007 at 3:24am |
|
Hi,
Add
pGroup->SetIconIndex(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 |