How to increase Office Ribbon button size ? - ms-office

I created a "splitButton" for Office Ribbon. I can see only two options for the button size, "normal" and "large". Is there any way to further increase the size of the splitbutton (i.e more than "large"). I looked at this link http://msdn.microsoft.com/en-us/library/dd950671(v=office.12).aspx but it was of no help.
Presently I am using the follwing code:
<splitButton id="Button" size="large">
Does anybody know how to further increase the size of this button ( or atleast it's width ).
Thanks.

As far as I know you cannot. Office ribbon interface doesn't allow much customization. I guess this is due to the unified look across different solutions. A similar question was answered here: RibbonButton classes -- can they be extended?

Related

windows 10 UWP UI design for mobile device

I am working on windows 10 mobile app. If I design an UI for 5' device, it doesn't look good on 5.2' device. Also on emulators of different screen size show messed up UI. Is there any work around this? Or do I have to design it for every screen size?
Usually, please avoid to have fixed Width/Height for your controls. With a Grid layout, you can set columns/rows and place your controls inside each cells. This is a first level to adapt properly your interface. In addition, UWP provides AdaptiveTriggers if you want to adapt the layout based on the screen resolution (cf. https://channel9.msdn.com/Series/A-Developers-Guide-to-Windows-10/07) for additional information. Last but not least, please check Design&UI documention on https://developer.microsoft.com/en-us/windows/design.
The trick is with UWP that you can design for every screensize at once. It's just a responsive design you use (either HTML/CSS or XAML). But you have to use the right controls and settings.
Some guidance on how to design for various sizes can be found at the MSDN design page.
To create a dynamic layout with XAML, see this article. There are various panel-types you can use to do the layout (see this article). But if you really want to build a responsive UI (or change it dramatically in various sizes) RelativePanel is your friend.

Can MS Office Ribbons hold a Picture Box?

My question is pretty simple, can I put a picture box in a MS Ribbon Customization (VSTO add-in). I can tell that it's not a readily available option from the designer, but can it be done from the XML? I haven't found an examples that do it.
The end goal is to have an image run out to the right of the controls in the ribbon, which would quickly allow someone walking behind a series of users see "which team they were on"/"program version" they were using.

DoubleClick for Publishers - support multiple screen sizes

I'm showing banner at left in my web page.
According to screen size 160x600 or 300x600 have to be used.
I can determine screen size and set proper code, but I think this isn't correct way.
Does somebody know how to leave to DoubleClick to decide which one ad fits better in page?
Unfortunately DoubleClick documentation is from ancient times :)
Solution: Do not put baner size in web page. Set it dynamicaly in javascript code provided from Doubleclick.

How to change the shape of a button in visual c++?

Is there an easy way to change the shape of a button in a form?
There could be other ways, but if you are not using WPF, you can use Images for buttons.
If you are using WPF, there are lots of options you can explore.
This might be a bit old, but may point the way, look at ownerdraw properties and styles and messages. http://msdn.microsoft.com/en-us/library/ms364048(v=vs.80).aspx
As an aside why would you want to change the shape of the button. Bear in mind your users, they more than likely don't like change.
You are referring to Ownerdraw buttons. The following links shall help you.
http://www.codeproject.com/KB/buttons/roundbuttons.aspx
how to create a round/circular button in win32 API using visual c++

Building Nav Bars with rollovers in DreamWeaver CS3

I'm working with Dreamweaver CS3. The question here is what part of the code (listed below) do I need to replicate to have my secondary nav bar utilize the on-click action?
FYI...DW has two menu options or auto insert items...one for roll over images and one for "navbar". DW will only allow you to use the 'navbar' item once per page
the nav bar option builds all the rollover actions for you (listed below)
the "rollover" option ONLY builds normal and over, but no click
I guess I really have two questions...the first is what part of the code do I need to insert manually, the second is what does the "MM_nbGroup" code mean?
"../photogallery.html" target="_top" onClick="MM_nbGroup('down','group1','photoMainNav','../images/buttons/photography_down.gif',1)"
onMouseOver="MM_nbGroup('over','photoMainNav','../images/buttons/photography_over.gif','../images/buttons/photography_over.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/buttons/photography.gif"
Thanks for any help on this in advance!
For anyone wondering the same thing, here's what I've found so far...
The 'insert' bar provided in DWCS3 doesn't allow for two 'inserted' menu bars on one page. However, the 'Behaviors' palette will allow you to add effective roll-overs with the "Set Nav Bar Image" option. Unfortunately (as far as I can tell) DWCS3 is not as smart as Adobe's GoLive was, in that it won't automatically fill in the appropriate items if you name your files correctly. Even still, you should name your images accordingly (xxx_over, xxx_down, etc) to keep it straight in your own head.
As for the MM_nbGroup question, best I can tell this is WYSIWYG code that ships with DWCS3 (the kind of stuff that really mifs some of you developers, sorry guys), as it names items by group # and doesn't seem to have any real relevance in the lexicon of html. I could be mistaken on this however, and am open to enlightenment on the topic if anyone can offer.

Resources