Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Ribbon Popups hides Item Selection
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon Popups hides Item Selection

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon Popups hides Item Selection
    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 (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
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.156 seconds.