Remove right clicking quick access toolbar? - ms-access-2013

Is there a way to prevent users from right clicking the quick access toolbar? Either by unchecking an option or vba? Either by using I already unchecked Allow Default Shortcut Menus in the options, but it doesn't apply to the quick access toolbar.
Thanks!

So I needed to create a custom ribbon interface using the USysRibbons table. My code is below. All I did was basically clear everything on the ribbon and quick access toolbar and added back a single import from Excel button in the quick access toolbar. It's important that <ribbon startFromScratch="true"> has to be set to true.
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="true">
<qat>
<sharedControls>
<control idMso="ImportExcel" label="Import from Excel" enabled="true"/>
</sharedControls>
</qat>
</ribbon>
</customUI>

Related

How can I add the Text Highlight Color control to a custom xml ribbon in PowerPoint?

I'm building a custom ribbon in PowerPoint and would like to include the Text Highlight Color Picker control on it. I've found an idMso called TextHighlightColorPicker, but it's not recognised by PowerPoint so I just get an error when I open it.
<control idMso="TextHighlightColorPicker" size="large" label=" " />
I've tried various other idMso with the word 'highlight' in but to no avail. I imagine it's simply not available for custom ribbons, but I thought I check to see if anyone knows, because it's seems strange that most of the other buttons are available but not that one.
Thanks in advance!
There is no such command available in PowerPoint 2016. You can find the list of commands available if you navigate to the Customize Ribbon on PowerPoint settings dialog:
Here you can find the list of all available controls. And if you hover the mouse over any entry you may find the idMso value which can be used in the code for building a custom UI.
I eventually found the idMso as per the instructions in Eugene Astafiev's answer, it turns out it is only avaiable in subscription versions. The id is "TextHighlightColorPickerLicense".

Open Source dialog directly by clicking custom button

I use CKEDITOR and need to open Source Dialog only, without toolbar and button Source. I want to click button in separate place and show dialog to user. Searching in docs doesnt give any result. Can you suggest me something?

Add a custom button to an existing ribbon in Outlook 2010 and 2013

I want to customise the ribbon that is displayed when the "Home" tab is clicked in OUtlook 2010 and 2013.
Questions -
Is this possible? Or do I have to create a custom ribbon and cannot modify the existing ribbon?
If the existing ribbon can be modified, please can you'll direct me to links that can provide this information.
I absolutely have no clue where to start from with this. Any links, docs or samples will be helpful.
I've been going through msdn but it all speaks of custom ribbon and that doesn't fit my purpose. I need to modify the existing ribbon.
It is possible... by creating a custom ribbon which will in turn be added to the Home tab.
First, create a custom ribbon. Here's an example http://msdn.microsoft.com/en-us/library/ee692172.aspx#OfficeOLExtendingUI_Explorer
Then add:
idMso="TabMail"
to the tab tag on your XML. This will instruct Outlook to add your custom ribbon to Home tab.
Using the link's example, it would be like this:
<ribbon>
<tabs>
<tab id="MyTab"
idMso="TabMail"
getVisible="MyTab_GetVisible"
label="MyTab">
<group label="MyGroup" id="MyGroup">
<button id="MyButton"
size="large"
label="MyButton"
imageMso="HappyFace"
onAction="OnMyButtonClick"/>
</group>
</tab>
</tabs>
If you're using Visual Studio's designer instead of XML, set the ControlId property of your custom ribbon's tab to TabMail. Here's a walkthrough for custom ribbon creation with Visual Studio: http://msdn.microsoft.com/en-us/library/vstudio/bb386104(v=vs.100).aspx
And if you want to place your custom ribbon somewhere other than the Home tab, you'll need to find the locations's MSO ID. Microsoft provides a list which can be downloaded at http://www.microsoft.com/en-us/download/details.aspx?id=6627
Yes, an existing ribbon can be modified. Follow the steps given below to customize an existing ribbon in Outlook 2010:
Open Outlook 2010.
Go to the top of the Ribbon and click the Office Button
Click Outlook and then click on Options button.
In the left pane, select Customize Ribbon.
In the right pane, find the desired tab in the list of available tabs and expand it.
Use the list of available commands and the Add/Remove buttons to
customize the tab.
Click the OK button and you will be done.

How to Change Style of CheckBox Control

I have a Checkbox in my application, and it is meant to be checked, but also disabled. When disabled, I've noticed that the foreground of the checkbox as well as the content textbox are a darker color than when enabled. I would like to leave the checkbox disabled, but change the foreground of the content textbox to the same color as when the checkbox is disabled. How might I accomplish this?
Methed you have to learn how to edit your existing/default style of your control. I can't give you the exact which will work for your but you can use Blend or Visual Studio to edit a copy of a control's current template by right clicking on the control and then selecting Edit Style, Edit Template or Edit Additional Templates as appropriate. In the submenu, you can select Edit a Copy... which will present a window that allows you to create a copy of the default (or current template/stlye if you have already modified it) and customize it.
Here is a basic tutorial for this http://www.jeff.wilcox.name/2010/08/using-blend-to-find-default-style-xaml/

How to use "Format Text" tab on ribbon and context menu for VSTO RichTextBox

I've added a RichTextBox control to an Outlook Form Region as in this article. The problem is that there are no controls to edit the text size, color, etc. I just figured that the default context menu and ribbon would work with the RichTextBox control, but apparently I was mistaken.
What has to be done to hook these up? Is it even possible? If not, what other options are available?
I'm not sure if you can hook the existing Formatting tab in the ribbon to your custom RichTextBox, however you can easily add your own ribbon tab, and make controls for these. See here.
Another alternative could be to add your own ribbon style panel just above your RichTextBox, to make it more obvious to the user that those are the editing tools for that RTB.

Resources