Print Page | Close Window

Default Quick Access Toolbar icon

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17789
Printed Date: 19 June 2025 at 3:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Default Quick Access Toolbar icon
Posted By: Enclaved Shadow
Subject: Default Quick Access Toolbar icon
Date 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.



Replies:
Posted By: Oleg
Date 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


Posted By: Enclaved Shadow
Date Posted: 17 January 2011 at 1:13pm
Thank-you for the reply



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net