How can I hidden the left panel of the drawing control?

T

Tianbing

I drag a drawing control to my applications, but when I open a visio file,
the left panel of the visio(such as the library browser from which I can drag
componont to the document) appears. It seems useless for me, can I hidden it,
and how can I hidden it, I do not know its name or ID.
 
M

Michel LAPLANE

Tianbing said:
I drag a drawing control to my applications, but when I open a visio file,
the left panel of the visio(such as the library browser from which I can drag
componont to the document) appears. It seems useless for me, can I hidden it,
and how can I hidden it, I do not know its name or ID.

Hi,

You must iterate in the Visio.Windows collections of the VDC, get the Type
for each window of the collection and provide to all window that you don't
want (probably keep only visDrawing type) a visible state to false.
 

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