Home Dashboard Directory Help
Search

MFC Ribbon's Gallery Button's Column property does not work by rtischer8277


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 683164
Opened: 8/5/2011 8:51:06 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
1
Workaround(s)
view
0
User(s) can reproduce this bug

Description

The Property in question has the prompt text: "Specifies the number of icons in row." The equivalent xml item is <ICONS_IN_ROW>. At run time, the number of icons appearing is 0 regardless of the Columns setting. Oddly enough, however, occassionally it has worked and obviously works in the RibbonGadgets sample. Hovering over the GalleryButton's combo scroll buttons sometimes shows Row 1-0 of 0 for the middle scroll button and sometimes for the downarrow scroll button, when clicked, shows all the gallery icons. The general behavior is very random.
Details
Sign in to post a comment.
Posted by Microsoft on 10/27/2011 at 1:24 PM
Hello,

Thanks for the report. This issue has been fixed in MFC for the next major release of Visual Studio.

Pat Brenner
Visual C++ Libraries Development
Posted by MS-Moderator07 [Feedback Moderator] on 8/7/2011 at 7:33 PM
Thanks for your feedback.

We are rerouting 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 MS-Moderator01 on 8/5/2011 at 9:50 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)
Sign in to post a workaround.
Posted by emerald8277 on 8/11/2011 at 5:11 AM
The default six gallery icons can be made to appear by making sure the following Gallery Button Properties settings and tasks are completed:
1) Button Mode: False // this is obvious
2) Columns: 0     // may be set or unset. This currently has no effect.
3) Large Image Index: 3 // must be valid large image index. If not set, the gallery button will show as collapsed
4) Add Handler to the gallery command ID // without this, the ribbon will show 6 icons wide, but blanks instead of icons

Specifying the number of columns using the Columns attribute on the Gallery Button icons still doesn't work, but at least you can get the default icon behavior to function.
File Name Submitted By Submitted On File Size  
GalleryTest.zip 8/5/2011 320 KB