showing ribbon bar item in single line

W

WLAN

Hello,

I have a requirement where i need to add a ribbon bar item into Outlook
2007. I have created custom.xml, group ,tab etc. Now my custom action is
appearing in ribbon bar of Outlook.

Actually my action label is long. That label is coming as multi line. I
would like to show it as single line. I can see other default items like
Format Painter, Low Importance, High importance are coming as single line.

Is there any style which i can set through custom.xml? I can searching xml
schema. But I couldn't locate one?

Thanks in Advance
 
K

Ken Slovak - [MVP - Outlook]

Only setting the control to large or normal if that's available for the
control you're using. Otherwise you have to shorten your caption.
 
W

WLAN

Hi,

I am facing another issue with ribbon bar. I want to show/hide a ribbon bar
button based on registry key.

I have wrote getVisible=ShowButton() function in custom.xml. But this works
only if I relaunch outlook.

Is there anyway to show/hide button in ribbon bar dynammically when
inspector window is launched?

Thanks in Advance
 
K

Ken Slovak - [MVP - Outlook]

If you call the Invalidate() method you will force your callbacks to be
called again for all of your custom controls. If you only want the callback
made for one control you use InvalidateControl(controlID). You can do that
in the Inspector.Activate() event handler on the first activation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top