cmfcribbonpanel

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 of, ReposPanels, RecalcWidths, RecalcLayout etc etc but nothing worked... ...

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 "category->AddPanel", but this way I cannot extend the CMFCRibbonPanel class. Any suggestions? ...

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 the Ribbon itself, and not explicitly by my code. To add the edit box to my ribbon, I call...