W
Walter Quirtmair
Hi,
I'm creating custom Menus and Items for Visio 2003 and use the UIObject
model to do so.
When adding new items to the NoDocument context set, I first get that set
with a call to
menuSet = menus.get_ItemAtID( (int)visUIObjSetNoDocument );
I checked menuSet.SetID which is then 2. But thats in fact the context
visUIObjSetDrawing whereas visUIObjSetNoDocument is 1.
So I guess ItemAtID returns the wrong context set. This is also visible as
the NoDocument - menus never become visible.
What can be the reason for this?
Is this a bug in ItemAtID ?
Thanks for any hint!
Walter
I'm creating custom Menus and Items for Visio 2003 and use the UIObject
model to do so.
When adding new items to the NoDocument context set, I first get that set
with a call to
menuSet = menus.get_ItemAtID( (int)visUIObjSetNoDocument );
I checked menuSet.SetID which is then 2. But thats in fact the context
visUIObjSetDrawing whereas visUIObjSetNoDocument is 1.
So I guess ItemAtID returns the wrong context set. This is also visible as
the NoDocument - menus never become visible.
What can be the reason for this?
Is this a bug in ItemAtID ?
Thanks for any hint!
Walter