Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Default Quick Access Toolbar icon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Default Quick Access Toolbar icon

 Post Reply Post Reply
Author
Message
Enclaved Shadow View Drop Down
Groupie
Groupie
Avatar

Joined: 22 August 2006
Location: Canada
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote Enclaved Shadow Quote  Post ReplyReply Direct Link To This Post Topic: Default Quick Access Toolbar icon
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Enclaved Shadow View Drop Down
Groupie
Groupie
Avatar

Joined: 22 August 2006
Location: Canada
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote Enclaved Shadow Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2011 at 1:13pm
Thank-you for the reply
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.