R
Ronnie
when there is no active document, I want to my menu I add disable,
I do it like this
define CComQIPtr < Office::_CommandBarButton> m_spCmdButton
then m_spcmdButton point to my Menu
I use method :m_spCmdButton.PutEnable(false) to disable this menu, but it
will crash visio application
why ?
is there nother way to disable my menu?
any help will be appreciated?
thanks
I do it like this
define CComQIPtr < Office::_CommandBarButton> m_spCmdButton
then m_spcmdButton point to my Menu
I use method :m_spCmdButton.PutEnable(false) to disable this menu, but it
will crash visio application
why ?
is there nother way to disable my menu?
any help will be appreciated?
thanks