![]() |
Icon of collapsed Ribbon group |
Post Reply
|
| Author | ||||
Alex H.
Senior Member
Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
Quote Reply
Topic: Icon of collapsed Ribbon groupPosted: 07 June 2013 at 5:29am |
|||
|
Hi!
How can i set the icon of a collapsed group? ![]() |
||||
![]() |
||||
Fredrik
Senior Member
Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2013 at 5:02am |
|||
|
According to CXTPRibbonGroup header file you should be able to use:
but it does not seem to work(?), at least not the following (using RibbonMDISample):
However, try this:
or perhaps:
It would have been convenient if AddGroup could take an extra parameter for collapsed icon id. |
||||
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
||||
![]() |
||||
Alex H.
Senior Member
Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 June 2013 at 2:59am |
|||
|
Thank you very much!
This one works: pTab->GetGroups()->Add(_T("Fenster"), ID_WINDOW_SWITCH);![]() |
||||
![]() |
||||
Alex H.
Senior Member
Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 July 2013 at 10:38am |
|||
|
But this seems to be a bug in XTP because the ID of the group is something different compared with the icon ID.
Means: SetIconId has a bug! |
||||
![]() |
||||
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 |