Print Page | Close Window

CXPTRibbonGroup::SetIconId

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=23671
Printed Date: 14 November 2018 at 12:07am


Topic: CXPTRibbonGroup::SetIconId
Posted By: Fredrik
Subject: CXPTRibbonGroup::SetIconId
Date Posted: 04 July 2018 at 5:42am
It's been a few versions and years like this, but calling SetIconId on a ribbon group has still no effect. Are there any plans to fix it? If not I suggest to remove the function but it would be handy to set the ribbon group icon instead of the current workaround.

//-----------------------------------------------------------------------
// Summary:
//     Call this member to set the group icon's identifier.  This is the Id of
//     the image to use for the group button that is displayed when there
//     is not enough room to display the items in the group.
// Parameters:
//     nId - Icon's identifier to be set.
// Remarks:
//      The m_nIconId specifies the Id of the image to use for the group button
//      that is displayed when there is not enough room to display the items
//      in the group.  When a group button is clicked, a CXTPControlPopup
//      is displayed that contains the items of the group.  No image will
//      be displayed for the group button if IconId is not set.
// See Also: IsReduced, GetIconId, GetControlGroupPopup


-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



Print Page | Close Window