L
Lutz Kretzschmar [MSFT]
I am writing an Outlook 2003 addin in VB6 and am adding a submenu in
the Tools menu. This submenu has four items on it (buttons).
Everything works fine as expected and all events fire.
I then go into Tools > Customize. I click on the Tools main menu and
then drag my created submenu onto another toolbar or onto the menubar
(makes no difference). Now the submenu items either disappear, or they
don't fire any events ( I can't tell when either one will happen,
mostly they just disappear).
I do process the OnUpdate message to retrieve the controls, but the
FindControl() function does not find the controls anymore.
I've run the PrintAllCbarInfo() function from Randy's book in the
OnUpdate after enhancing it to also print items on submenu's and sure
enough, the items are gone.
Any ideas?
- Lutz
the Tools menu. This submenu has four items on it (buttons).
Everything works fine as expected and all events fire.
I then go into Tools > Customize. I click on the Tools main menu and
then drag my created submenu onto another toolbar or onto the menubar
(makes no difference). Now the submenu items either disappear, or they
don't fire any events ( I can't tell when either one will happen,
mostly they just disappear).
I do process the OnUpdate message to retrieve the controls, but the
FindControl() function does not find the controls anymore.
I've run the PrintAllCbarInfo() function from Randy's book in the
OnUpdate after enhancing it to also print items on submenu's and sure
enough, the items are gone.
Any ideas?
- Lutz