select shape

M

mithila

im writng a windows application which

lists out allthe shapes in page also converts it into html;
now when i click on a particular page,it opens the page.
similarly when a shape is clicked it should select that shape.
how do i achieve this
 
P

Paul Herber

im writng a windows application which

lists out allthe shapes in page also converts it into html;
now when i click on a particular page,it opens the page.
similarly when a shape is clicked it should select that shape.
how do i achieve this

I'm not 100% sure what you are asking for ...

What are you clicking on, something in the page displayed by the HTML,
i.e. within a web browser? Are you expecting an image displayed in the
web browser to show a selected status in the same way that Visio does?
I don't think HTML and browsers have that capability.
 
M

mithila

sorry for not being more informative

i have a windows app.
there is a list box which displays all the pages & all the shapes in the page,
Now when i click on the page in list box it should show the repctive page
(im using web browser control to show the page).here im exporting the file as
htm

And also when i clik on te shape it should highlight that shape in the page
and one more addtion
when individual page is opened, any shape with multiple link when clicked on
the browser should show the menu which pops up when the whole file is
exported as htm
 
P

Paul Herber

sorry for not being more informative

i have a windows app.
there is a list box which displays all the pages & all the shapes in the page,
Now when i click on the page in list box it should show the repctive page
(im using web browser control to show the page).here im exporting the file as
htm

If the data in the list box contains enough information to tell you
the page name then set the ActiveWindow.Page to the new page.
And also when i clik on te shape it should highlight that shape in the page

again, if the shape information in the list identifies the shape
uniquely (i.e. by shapeID) then yes, use the ActiveWindow.Select
method.
and one more addtion
when individual page is opened, any shape with multiple link when clicked on
the browser should show the menu which pops up when the whole file is
exported as htm

You may have a problem doing that. If you can read the shspe's
hyperlinks list then you may be able to create something in
javascript.
 

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