Questions tagged [cmfcribbonpanel]
14 questions
2
votes
5 answers
How do I rename the MFC ribbon panel?
I am programming a multi-language application which supports dynamical switch from one language to another. Since there is a GetName function in class CMFCRibbonPanel, I think there should also be a SetName function. But unfortunately I can't find…

zhangjz
- 21
- 3
2
votes
1 answer
CMFCRibbonBar: GetEditText() doesn't return the actual edit box text of a CMFCRibbonComboBox unless window loses the focus
I have a VS2008 project with a 'Find' panel containing an editable combo box as well as a forward and a backward search button. When I press a search button, GetEditText() returns an outdated value.
CMainFrame *pFrame =…

thomiel
- 2,467
- 22
- 37
1
vote
1 answer
How can I incorporate in a ribbon category, 2 panels with different image resources?
I am working with CMFCRibbonCategory and my category should have 2 panels. The problem is that I would like to specify a set of button images for each panel. I don't want to join the two bmp files into one in order to use them.
This is how I…

alexa
- 41
- 1
- 3
1
vote
1 answer
How to get notification for keydown for CMFCRibbonComboBox?
I have CMFCRibbonComboBox on ribonbar and I want when that user press on a key open droplist and select Item acurding to chars that press by user.
For this purpose I want to get notification for keydown.
How can I to do it?
Thanks

herzl shemuelian
- 3,346
- 8
- 34
- 49
1
vote
1 answer
How can I make a CMFCRibbonEdit automatically convert contents to uppercase?
I am using the MFC Feature pack in Visual Studio 2008. I have an edit box (CMFCRibbonEdit) in a ribbon that I would like only to contain uppercase letters. I know that I can pass ES_UPPERCASE to the "Create" method, however "Create" is called from…

Stanish
- 145
- 9
1
vote
1 answer
How to refresh the CMFCRibbonBar after adding/updating an item
After adding a ribbon item, or calling a method that updates an item, the ribbon does not refresh correctly. Sometimes it's OK after resizing the window but most of the time the panel is in a collapsed state.
I tried all the functions I could think…

demoncodemonkey
- 11,730
- 10
- 61
- 103
0
votes
0 answers
Change the static text caption of a CMFCRibbonEdit dynamically using MFC (Microsoft Foundation Class) and C++
I'm having trouble trying to update the caption (text element) of an Edit box in MFC.
Below. is what I currently tried. I know I am grabbing the correct element because I can see that the tooltip has changed. The caption text next to the edit box…

thePunctuator
- 13
- 1
- 3
0
votes
3 answers
Hide, show, add or remove buttons from ribbon?
Has anyone figured out if it's possible to either hide, show, add or remove a button from the ribbon bar at run time? Is it possible? I'd like to have a button only show up in DEBUG builds.

Jonathan Wood
- 65,341
- 71
- 269
- 466
0
votes
1 answer
CMFCRibbonGallery Being slow
I am using the CMFCRibbonGallery control. I have 1 image it in comprised of 350 images total. Each image is 64hX128w. On the initial draw of the control it is slow. Every other time it is fast. I tried adding the 350 images individually at first but…

Psychoboy
- 308
- 1
- 3
- 10
0
votes
1 answer
How can add a "Collapse the Ribbon" button to a CMFCRibbonBar
I'm using CMFCRibbonBar in an MFC based Application, I would like to add the ability to collapse the ribbon like you can in Office, does anyone know if this can be done?
I would be quite happy if I it was only possible to implement the button in…

MyDeveloperDay
- 2,485
- 1
- 17
- 20
0
votes
1 answer
Crash/Assertion after calling ForceRecalcLayout
I have added Ribbon to an existing MFC application.
The ribbon is created using the Editor.
In one of the panel I have a Custom CMFCRibbonGallery (derived from) whose contents (icon) I change dynamically. (It is much like the Styles Gallery in…

Ankur Arora
- 11
- 1
0
votes
2 answers
Cannot set icons for buttons in the ribbon of MFC office style application
The only icons I was able to set for buttons in the ribbon of my MFC Office style application are the ones made available through the image index combo boxes in the button properties, all attempts to add custom images as icons failed.
Can someone…

Gumbly jr.
- 729
- 2
- 9
- 18
0
votes
1 answer
Removing a programmatically added panel separator in MFC Ribbon Bar
I am writing an MFC application which takes advantage of the Ribbon bar, and I've designed most of it in the Ribbon editor. However, for one of my views, I need to programmatically add some buttons, and I would like to add a separator between…

Thomas Russell
- 5,870
- 4
- 33
- 68
0
votes
1 answer
How can I extend a CMFCRibbonPanel in MFC feature Pack
I want to extend CMFCRibbonPanel - but the constructor is protected (I get the following error: cannot access protected member declared in class 'CMFCRibbonPanel'). The only way to obtain a CMFCRibbonPanel instance is by calling…

melculetz
- 1,961
- 8
- 38
- 51