ribbon

MFC Ribbon - get base element clicked from command

I have a CMFCRibbonUndoButton on the ribbon of an MFC application. I have a handler for when its ID is clicked (ON_COMMAND(ID_EDIT_UNDO, ...)). However, when the button is also in the quick access toolbar (QAT), there are apparently two CMFCRubbonUndoButtons which each keep their own state. In the command handler, I don't know how to ...

Customize Office Ribbon programmatically

I am writing an addin to Office (both 2007 and 2010), and have so far used the Fluent Ribbon XML to customize the different ribbons. The problem I am having now with that approach, is that I want to have a bit more flexibility in my code, and have different modules add more buttons to the ribbon, without hard coding them in XML - The add...

Windows 7 Ribbon: How to specify "Four buttons, two big, two small"?

When laying out a group, the Windows Ribbon Framework supports some predefined layouts. One of the layouts, which requires four buttons is called FourButtons. This layout supports 3 different sizes, Large, Medium, and Small. In each case it gives the layouts: Large: Medium: Small: Right now i am using the FourButtons predefin...

Adding Member variable of check box in MFC Ribbon

hi i added a check box with resourceman in MFC Ribbon (in VS-2010), but i cant create a member variable for it in CMainFrame because "Add Variable..." button is disabled in "Class Wizard" what can i do for adding this variable? and how can i access to the created variable in a document ...

What to use as the container with ribbon control?

I'm writing a data-entry software with lots of pages. For example one page for entering team data and another page for entering match data. I want to use the new fancy Microsoft ribbon control to organize different pages and categories. The problem is I'm new to WPF and I don't know what should I use for: a. The container of pages (s...

Create SharePoint 2010 ribbon button programmatically w/o feature XML

I have to create a SharePoint 2010 ribbon element (tabs, buttons, groups, etc.). Is there a way to create such elements via the SharePoint API without using custom actions? Edit: I've just found the possibilty to add elements like this (link): SPRibbon r = SPRibbon.GetCurrent(Page); r.RegisterDataExtension(/* XmlNode containing ribbo...

flex ribbon bar

Anybody knows a good free Office 2007-styled Ribbon bar component? I googled this for long time...but unsuccessfully. ...

Rich text box in an Office 2007+ ribbon control

I want to have a rich edit control on an Office 2007+ ribbon control from within an Office add-in. There is no rich text box in a VS2010 designer Toolbox. Is there a way to put a custom control in a ribbon or is there any other less straightforward way to accomplish this? ...

Disabling the Ribbon Bar Except for Reports (Print Preview) In MS-Access

I have a MS-Access 2007 client using a MS-Access 2003 MDB frontend and backend files. Disabling the ribbon bar shuts out some unwanted behavior (such as navigating records... even though I have 'Record Selector' set to false, it still persists in the Ribbon bar), but when I do this, then the printing options are lost when in the print p...

Microsoft Ribbon for WPF vs. Office RIbbon UI

Microsoft released Microsoft Ribbon for WPF available for download here. We also have RibbonControlsLibrary.dll, which is a ribbon control too, available for download from Office sites. Currenty it is in CTP version. Now, which is the difference between these 2 version of ribbons ? Until now I identified that: MS Ribbon for WPF doe...

Hide/unhide ribbon for Microsoft RIbbon for WPF release

MS officially released MS Ribbon for WPF. This release doesn't support theming, it comes with a default blue theme, Office 2010 look&feel. Office 2010 has a button that allows users to hide/unhide the ribbon, but the released version of ribbon doesn't has one. Is it implemented ? How can I add one? Thanks, Tudor ...

Change view when selected ribbon tab item changes

I'm using Fluent ribbon in a MVVM application. For each tab item I associate a view and a view model (set a new DataContext). How can I change the view and the view model (DataContext) each time when the selected tab item is changed ? It would have been nice to have an event that fires each time a tab item is selected, like Microsoft Rib...

How to set up extended tool tips in WPF Ribbon Control?

I have been playing with the new Microsoft Ribbon for WPF and looking at the tutorials published in the WPF Team Blog. The tutorial for extended tool tips shows this screen shot: Unfortunately, the tutorial doesn't show the markup to create that tool tip. I've got a couple of questions about the screen shot that I am hoping someone c...

How to make a RibbonSplitButton open its dropdown list when clicked?

I'm using RibbonSplitButton of the Microsoft Ribbon for WPF and want to open its dropdown when clicked. I tried to catched the clicked button and set IsDropDownOpen=true but the dropdown open then close immediately. How can I retain the dropdown open? Please help! (Or show me where the correct forum to post this, thank you!) Nam. [...

Can the "Fluent" UI ribbon controls co-exist with the new "Microsoft Ribbon for WPF"?

We have an app in progress/development using the Office Fluent UI ribbon control library. It seems that the new RTM release of the Microsoft Ribbon for WPF is going to be the standard for the Microsoft libraries (at least for the next month or so). Can we install the Microsoft Ribbon for WPF safely on our dev boxes and begin transitioni...

Show Excel 2007 Ribbon in XLS file using Excel VBA

Hi, I have a excel dashboard which works such that before the excel file is closed, I would like to display all the EXCEL ribbon, so that next time excel is opened, the application / excel will show the ribbon. At present, it does not show the ribbon if excel is opened. Private Sub Workbook_BeforeClose(cancel As Boolean) On Err...

WPF Prism and the Ribbon Control

I am working on a line of business application for our company and I came across Prism. I have never worked with it before but the concepts it talks about sound a lot like what I did for the last project in Winforms. I had a ShellForm and then multiple User Controls. Anyway, assuming I am not seriously misunderstanding what Prism is ...

How to switch tab programatically?

Hi everyone, I have a ribbon in my view named 'ribbon' that have 2 tabs as below sample codes. I want Button1 when clicked will open Tab2 and vice versa. How would I do this? <ribbon:Ribbon x:Name="ribbon" HelpPaneContent="{x:Static data:WordModel.Help}"> <ribbon:RibbonTab Header="Tab1" ... > <ribbon:RibbonGroup x:Name="Butt...

Microsoft WPF Ribbon Calender / DatePicker Control

Hi everyone I am looking for information on how to put a calender/datepicker control into a WPF Ribbon has anyone done this before ? What is the best way to implement this. ...

Is it possible to set the font of the builed in Ribbon controls (D2009)?

I would like to increase the font size of the standard (D2009) Ribbon controls, but I din't find a property to do it. Is it possible to change the font at all? When yes, how? thanks ...