I am new the the whole ribbon stuff so please bear with me. I have long
experience in Word vba and the whole customisation up until the age of
the ribbon :), so I am not a novice in that sense.
Now, I have read quite a few articles and things on the web but have not
come across anything that helps with these two things:
- I'd like to intercept the "insertPicture" Word command. Inserting the
code that worked in Word 2003 no longer seems to intercept the click on
the "picture" button on the insert/illustrations tab. I then thought I'd
hide that button and add my own one. However, I have not been able to
hide an individual button through the xml I have created and that should
work in my mind. Do I have to hide the whole group and rebuild it or can
individual buttons on built in tabs & groups be hidden?
- I'd like to have a toggle button that is context sensitive and only
available when a picture is selected. Any pointers to anywhere where I
can read up a bit more about that?
Thanks very much in advance for any help
Christoph
AFAIK, you can edit built-in groups. Perhaps you could repurpose the
command. See the part about repurposing Word2007 controls here:
http://gregmaxey.mvps.org/Repurpose_User_Interface_Controls.htm
--
Greg Maxey - Word MVP
My web site http://gregmaxey.mvps.org
Word MVP web site http://word.mvps.org
McCain/Palin '08 !!!
Christopher, let me correct myself. AFAIK, you "can't" edit built-in
groups.
Let me correct myself. AFAIK you "can't" edit built in groups.
While you can't 'edit' the Ribbon groups, you could replace it with different/fewer/more items.
===========
<<"Greg Maxey" <gma...@mIKEvICTORpAPAsIERRA.oSCARrOMEOgOLF> wrote in message news:%23aBlC08...@TK2MSFTNGP06.phx.gbl...
Christopher,
Let me correct myself. AFAIK you "can't" edit built in groups. <<
--
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*
Yes I agree. Unfortunately while you can replicate exactly the functions of
a built in group, you can't replicate the "look" of a built-in group. One
example is the "font" group. It is a fixed width and narrower than the font
group in the built-in. Also the spacing can't be reproduced exactly.
Bob Buckland ?:-) wrote:
> Hi Greg,
>
> While you can't 'edit' the Ribbon groups, you could replace it with
> different/fewer/more items.
>
> ===========
> <<"Greg Maxey" <gma...@mIKEvICTORpAPAsIERRA.oSCARrOMEOgOLF> wrote in
> message news:%23aBlC08...@TK2MSFTNGP06.phx.gbl... Christopher,
>
> Let me correct myself. AFAIK you "can't" edit built in groups. <<
--