![]() |
Default Quick Access Toolbar icon |
Post Reply ![]() |
Author | |
Enclaved Shadow ![]() Groupie ![]() ![]() Joined: 22 August 2006 Location: Canada Status: Offline Points: 31 |
![]() ![]() ![]() ![]() ![]() Posted: 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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |