![]() To bind BossCheckBox to the Outlook toolbar, you add an advanced command bar control (ADXCommandBarAdvancedControl1) to the Controls collection of your Outlook Inspector toolbar and select BossCheckBox in the Control property of the ADXCommandBarAdvancedControl1. ![]() ![]() Private Sub BossCheckbox_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)ĭim Inspector As Outlook.Inspector = OutlookApp.ActiveInspectorĭim Item As Outlook.MailItem = CType(Inspector.CurrentItem, Outlook.MailItem)ĭim ActualCheckBox As = senderĤ. Please note we do not touch Outlook programming here. We usually use the following code to BCC messages to our boss. To BCC a message to your boss you need to handle the checkbox. Module and customize the checkbox in any way you like. Therefore, you can add a check box (BossCheckBox) directly to your add-in The add-in module can contain any components including controls. Add your custom control to Outlook toolbar In this case, we use an ADXOutlookControlAdapter.Ģ. The first step in using non-Office controls in your add-in is adding the corresponding control adapter to your add-in module. ![]() Toolbar Controls for Microsoft Office tab in the Toolbox. Custom Toolbar Controls supports Office applications through special components that we call control adapters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |