|
Ribbon Palettes (Galleries) |
|
|
 |
BCGControlBar Pro (MFC) |
 |
BCGControlBar (Microsoft .NET) |
|
| Microsoft® Office 2007-style Ribbon Palette button provides an easy way to create a list of elements. For example, developer can use this control to display list of available styles or shapes. |
|
Ribbon Palette:

|
|
Ribbon Palette with dropped-down list:

|
|
Ribbon Palette with small images and groups:

|
|
| Sample code: |
CBCGPRibbonPaletteButton* pStyleBtn = new CBCGPRibbonPaletteButton
(ID_WRITE_QUICKSTYLES, _T("Quick Styles"), -1, 1, IDB_STYLES, 64 /* Image Width */);
pStyleBtn->AddSubItem (
new CBCGPRibbonButton (ID_WRITE_SAVESTYLE, "Save Selection as a New Quick Style...", -1, -1));
pStyleBtn->AddSubItem (
new CBCGPRibbonButton (ID_WRITE_CLEARFORMATING, "Clear Formating", 8, -1));
pStyleBtn->AddSubItem (
new CBCGPRibbonButton (ID_WRITE_APPLYSTYLES, "Apply Styles", 9, -1));
pPanelStyle->Add (pStyleBtn); |
|
|
| Prev
Next |