Selecting a graphic

J

Jezebel

Trap the WindowSelectionChange event. This will be fired when the user
clicks *anything* -- your add-in then checks what is now selected.
 
C

Cindy M -WordMVP-

Hi Annu,
Is there any way my addin knows when a user has clicked on a graphic
Assuming this is an addin in Word 2000 or later, you can use the
WindowSelectionChange event and check Sel.Type. If it returns 7 or 5
an InlineShape resp. a Shape was clicked.

~~Message posted directly in the microsoft news NNTP group

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

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