How to open a Visio Stencil in Windows Form

P

Prabhuram M V

I want to open a Visio Stencil file separately without using Visio ActiveX
control. My need is to place a Visio Stencil in a windows panel and the same
has to be docked in a windows form.

My Application is a MDI one. I am planning to place a stencil window in the
MDI Parent form, which will be used by all child forms which contains Visio
ActiveX control.

Please guide me in this regard.

Thanks
Prabhuram M V
 
D

David Parker

Suggest opening the stencil hidden in the Visio application, and loading a
treeview or listview control with the masters from the stencil.
It is a simple matter to use drag and drop from these controls onto a Visio
ActiveX drawing control.
 
P

Prabhuram M V

Yes, this seems to be good option. Can you please provide me some code sample
for loading tree.
Also, when we use tree view as shape source, do we get the same mouse move,
drag and drop icon features.

Thanks
Prabhuram M V
 
Top