G
Gil_H
Hi EV1,
I've created an addin with a commandbar and a few commandbar buttons.
My wish is to control that command bar and Enable/Disable it's buttons
according to selection of a shape.
For example, one of the buttons involved with picture manipulation, so
if the user selects one of the pictures on the slide in a normal view,
i would like to enable the "Picture Command Bar Button". A few
questions:
1. Where do i put the code that defines Enable/Disable of a commandbar
button? (Normal View)
2. How do i know if a shape is selected? ( By now i found only the
Selection of ShapeRange )
I would be grateful if you could give me a code example.
Thanx,
Gil H
I've created an addin with a commandbar and a few commandbar buttons.
My wish is to control that command bar and Enable/Disable it's buttons
according to selection of a shape.
For example, one of the buttons involved with picture manipulation, so
if the user selects one of the pictures on the slide in a normal view,
i would like to enable the "Picture Command Bar Button". A few
questions:
1. Where do i put the code that defines Enable/Disable of a commandbar
button? (Normal View)
2. How do i know if a shape is selected? ( By now i found only the
Selection of ShapeRange )
I would be grateful if you could give me a code example.
Thanx,
Gil H