Print Page | Close Window

Ribbon Popups hides Item Selection

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=23905
Printed Date: 27 May 2024 at 2:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon Popups hides Item Selection
Posted By: cpede
Subject: Ribbon Popups hides Item Selection
Date Posted: 12 September 2019 at 9:29am
I found a small bug in the Ribbon Galleries. When creating a gallery with a popup button for expanding the gallery (don't know the official name of it), like this:


When clicking on an item in the popup list the item is not flagged as selected in the call-back:
//if (pGallery->IsItemSelected())
{
CXTPControlGalleryItem* pItem = pGallery->GetItem(pGallery->GetSelectedItem());

IsItemSelected fails but GetSelectedItem works ??

-cpede





-------------
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



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