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:
#define IDD_EXT_RIBBON_QATB_CUSTOMIZE_CAPTION_ALIGNMENT 30543
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:
http://msdn.microsoft.com/en-us/library/aa511493.aspxIt’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(
UINT nSelectedPageID // = __EXT_RIBBON_OPTIONS_DIALOG_PAGE_DEFAULT
)
{
ASSERT_VALID( this );
CExtRibbonOptionsDialog dlgRibbonOptionsDialog( nSelectedPageID, this, this );
dlgRibbonOptionsDialog.DoModal();
}
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.