Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ribbon - hide individual buttons and context sensitive toggle?

0 views
Skip to first unread message

Christoph Lutz

unread,
Sep 30, 2008, 1:49:07 PM9/30/08
to
Hi,

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

Greg Maxey

unread,
Sep 30, 2008, 5:56:08 PM9/30/08
to
Christopher,

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 !!!


Greg Maxey

unread,
Oct 1, 2008, 7:39:47 AM10/1/08
to
On Sep 30, 5:56 pm, "Greg Maxey"
> McCain/Palin '08 !!!- Hide quoted text -
>
> - Show quoted text -

Christopher, let me correct myself. AFAIK, you "can't" edit built-in
groups.

Greg Maxey

unread,
Oct 1, 2008, 9:52:58 AM10/1/08
to
Christopher,

Let me correct myself. AFAIK you "can't" edit built in groups.

Bob Buckland ?:-) At Beautiful Downtown

unread,
Oct 3, 2008, 10:33:57 AM10/3/08
to
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. <<

--

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*


Greg Maxey

unread,
Oct 3, 2008, 2:14:00 PM10/3/08
to
Bob,

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. <<

--

0 new messages