![]() |
How do change toolbar icons dynamically? |
Post Reply
|
| Author | |
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Topic: How do change toolbar icons dynamically?Posted: 28 October 2004 at 1:05am |
|
I have 5 toolbars and want to change their icons at runtime. The icon size may also changed. How to make it?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 October 2004 at 6:41am |
|
pControl->SetIconId. + XTPImageManager->SetIcons. +see CommandBarIcons sample.
somebody, add this to FAQ!
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 October 2004 at 7:26am |
|
Thanks. It seems toolbar's SetIconSize works. But if I use a large icon, it seems the menu will use a scale down version of the icon. I think I shall use XTPImageManager->SetIcons to set a 16*16 icons for the same ID, shall I?
|
|
![]() |
|
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 |