Hiding a Stencil Master

S

Stewart Mac

Hi,

I'm working on an application where I want to hide some of the stencil masters from the users. I've tried setting the master.hidden property, but I constantly get the "Requested operation is currently disabled" message.

The environment is VS.Net 2003, C# code using the Visio 2003 Interop.

To try to fix this I've:

1. Moved the assignments inside the Visio Idle event loop .
2. Ensured the Visio activeX control has focus.

But neither of these help, either together or in isolation.

This is driving me crazy! Any help appreciated.

cheers
Stewart
 
S

Stewart Mac

Stewart Mac said:
Hi,

I'm working on an application where I want to hide some of the stencil masters from the users. I've tried setting the master.hidden property, but I constantly get the "Requested operation is currently disabled" message.

The environment is VS.Net 2003, C# code using the Visio 2003 Interop.

To try to fix this I've:

1. Moved the assignments inside the Visio Idle event loop .
2. Ensured the Visio activeX control has focus.

But neither of these help, either together or in isolation.

This is driving me crazy! Any help appreciated.

cheers
Stewart

I've come up with a workable solution, but I'd still like to know how to get the master.hide working.

I've moved the offending masters to the template's document stencil.

Stewart
 

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