S
Scott Lyon
I have been tasked with updating one of our legacy add-ins for Outlook. And
by "legacy", I mean that it was written entirely in VB6, with no immediate
plans to rewrite/update to .NET.
Currently the add-in (among other things) adds a custom menu to the Insert
menu when drafting an e-mail message.
I have been tasked with adding the same custom menu to the Insert Menu when
drafting a Meeting Request or Appointment.
The code I have for initially setting up the Message Insert menu is as
follows:
Dim NewInsertMenu As CommandBarPopup
Dim NewRefPopUp As CommandBarPopup
Set NewInsertMenu = colCB.FindControl(id:="30005")
Set PMCRefPopUp = NewInsertMenu
NewRefPopUp.Caption = "NewInsertSubMenu"
NewRefPopUp.BeginGroup = True
NewRefPopUp.Tag = "NewInsertSubMenu"
Unfortunately, I'm at a loss to figure out how to add that same menu to the
Appointments Insert menu.
Any ideas/suggestions?
I was hoping it'd just be a different Control ID (to replace the 30005 in
the code above), but I'm simply not finding it online or otherwise.
Thanks!
by "legacy", I mean that it was written entirely in VB6, with no immediate
plans to rewrite/update to .NET.
Currently the add-in (among other things) adds a custom menu to the Insert
menu when drafting an e-mail message.
I have been tasked with adding the same custom menu to the Insert Menu when
drafting a Meeting Request or Appointment.
The code I have for initially setting up the Message Insert menu is as
follows:
Dim NewInsertMenu As CommandBarPopup
Dim NewRefPopUp As CommandBarPopup
Set NewInsertMenu = colCB.FindControl(id:="30005")
Set PMCRefPopUp = NewInsertMenu
NewRefPopUp.Caption = "NewInsertSubMenu"
NewRefPopUp.BeginGroup = True
NewRefPopUp.Tag = "NewInsertSubMenu"
Unfortunately, I'm at a loss to figure out how to add that same menu to the
Appointments Insert menu.
Any ideas/suggestions?
I was hoping it'd just be a different Control ID (to replace the 30005 in
the code above), but I'm simply not finding it online or otherwise.
Thanks!