G
Gerald K
Hi - I'm having a problem with the menu items I've added to a document. The
menu items are used to create various views of the info in the current
document.
I call a module from ThisDocument to create the menu items:
Private Sub Document_DocumentOpened(ByVal doc As IVDocument)
CreateMenuItems
End Sub
However, the items only appear greyed out, and the item that brings the user
back to the initial document view, doesn't show at all. I have to manually
run the CreateMenuItems module after the document opens in order for the menu
items to function properly.
Is this because the document hasn't fully opened when this call is made -
and thus has no reference to the shapes on the document? If so, is there some
way I can call the module after the document has fully opened? Or, is there
another reason for this?
Cheers, Gerald.
menu items are used to create various views of the info in the current
document.
I call a module from ThisDocument to create the menu items:
Private Sub Document_DocumentOpened(ByVal doc As IVDocument)
CreateMenuItems
End Sub
However, the items only appear greyed out, and the item that brings the user
back to the initial document view, doesn't show at all. I have to manually
run the CreateMenuItems module after the document opens in order for the menu
items to function properly.
Is this because the document hasn't fully opened when this call is made -
and thus has no reference to the shapes on the document? If so, is there some
way I can call the module after the document has fully opened? Or, is there
another reason for this?
Cheers, Gerald.