Ribbon Menus unexpectly show the panel icon. - by Cuperliu

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 722441 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/2/2012 1:15:35 AM
Access Restriction Public


Developers can add panels to the category by calling CMFCRibbonCategory::AddPanel, I found that if the program calls AddPanel over maybe 89 times, the menu and popmenu of ribbon will show the icon image of panel beside the items in the menu, I submit the picture below and I think this is a bug.

Our program will add totally 48 panels, and if user redefines the menu, our program will clear all the categories and rebuild the ribbon according to the user's definition, at this point the program will call AddPanel 48 times again and the menus will show the panel picture.  
Sign in to post a comment.
Posted by Cuperliu on 2/22/2012 at 6:38 PM
For developer using VS2010, is there a way to avoid this problem?
Posted by Cuperliu on 2/7/2012 at 6:14 PM
Hello, I've submitted those two files. You might put those files at E:\ for a success build, or just delete the code which reference those bitmaps and the program will still run as I reported.
Posted by Microsoft on 2/7/2012 at 1:06 PM

Thanks for the report and the project. We are unable to build the project because we are missing FM_OLAP_Large.bmp and FM_DRP_Small.bmp. Could you provide those files in a separate upload? Thank you.

Pat Brenner
Visual C++ Libraries Development
Posted by Microsoft on 2/3/2012 at 2:22 AM
Thanks for your quick response.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Cuperliu on 2/2/2012 at 9:56 PM
I've submit the project zip, and you can check it. Thank you very much.
Posted by EricLeong [Feedback Moderator] on 2/2/2012 at 6:54 PM
Thank you for reporting this issue.

Could you please provide us with a sample project zip for further investigating?

It would be greatly appreciated if you could provide us this information as quickly as possible.

Thank you
Posted by MS-Moderator01 on 2/2/2012 at 1:44 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)