Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » OptionPages Collapse All
Subject Author Date
Sebastian Leopold Jan 7, 2009 - 6:18 AM


I have successfully created some new optionspages. However, the titles of the Pages arent shown. I have a used the Ribbon Sample as base but it doesn’t work for me. I have also some other question.

My questions:

1. Why is the title not shown. I have a static Item with the same Style and the ResourceID: IDD_EXT_RIBBON_QATB_CUSTOMIZE_CAPTION_ALIGNMENT but no Title is shown at all.

2. How is it possible to display Icons left from the Button in the Config Dialog for the specific page.

3. How can I set the minimal size of the Config-Dialog. The Standarddialog is to small from start on.

S. Leopold

Technical Support Jan 8, 2009 - 10:15 AM

We suspect the IDD_EXT_RIBBON_QATB_CUSTOMIZE_CAPTION_ALIGNMENT constant is defined in the resource.h file of your project using some value which is not 30543. It should be defined as following:


We didn’t implemented icons on vertical tabs inside ribbon options dialog because of "Don’t put icons on tabs" advise in the Microsoft’s UI guidelines:

It’s possible to change ribbon options dialog size. This dialog is displayed in the CExtRibbonPage::OnRibbonOptionsDialogTrack() virtual method which is overridden in the CExtRibbonBar class:
void CExtRibbonBar::OnRibbonOptionsDialogTrack(
            ASSERT_VALID( this );
CExtRibbonOptionsDialog dlgRibbonOptionsDialog( nSelectedPageID, this, this );

You can override this method in your CExtRibbonBar-derived class and show your ribbon options dialog which is the CExtRibbonOptionsDialog-derived class. Your ribbon options dialog can adjust initial dialog size and position in its OnInitDialog() virtual method. It can simply increase initial dialog size using the MoveWindow() API and, optionally, center dialog using the CenterWindow() API.