![]() |
Default Quick Access Toolbar icon |
Post Reply
|
| Author | |
Enclaved Shadow
Groupie
Joined: 22 August 2006 Location: Canada Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Topic: Default Quick Access Toolbar iconPosted: 17 January 2011 at 9:55am |
|
Is there a way to set a default icon for the Quick Access Toolbar to use for controls added via the context menu (Add to Quick Access Toolbar) that do not have an image associated with them?
I have a pop up window who's items do not and should not have images displayed but according to Microsoft's Office UI design guidelines every item on the Quick Access Toolbar must display an image and no text. The only way I have been able to ensure an image is displayed in the Quick Access Toolbar is to set an icon for each pop up menu item which is not a viable solution. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 January 2011 at 12:36pm |
|
Hi,
Thanks, good suggestion. Please patch our code now - in CXTPRibbonBar::OnCustomizeCommand and if (wParam == XTP_ID_RIBBONCUSTOMIZE_ADD) block add if (nType == xtpControlGallery || nType == xtpControlPopup || nType == xtpControlButton || nType == xtpControlButtonPopup || nType == xtpControlSplitButtonPopup)
{
CXTPImageManagerIcon* pIcon = pControl->GetImage();
if (pIcon == NULL)
{
pControl->SetIconId(some id);
}
} We will add new methods for 15.0 release
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Enclaved Shadow
Groupie
Joined: 22 August 2006 Location: Canada Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 January 2011 at 1:13pm |
|
Thank-you for the reply
|
|
![]() |
|
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 |