add controls to new mail window

J

jamielawjen

hi there

i have managed to add a new command bar to the main outlook screen, an
also add controls to it, and also add controls to the main menu bar

now, i need to add a new control to the new mail windows standard men
bar

i dont know how, and i have searched far and wide.

i have written code to capture the newmailitem event, and this work
ok

how can i access the command bars of the new mail item window

many thannks

i am using vb6

Jami
 
J

jamielawjen

woo hoo,

i cracked it

using the open event (for a new mail item0 i then referenced th
command bars through the inspector, something which all the books an
tutorials forgot to mention

jami
 
K

Ken Slovak - [MVP - Outlook]

Actually, there are quite a few code samples for that at
www.outlookcode.com. I'd also look at the ItemsCB template on the Resources
page at www.microeye.com for a VB 6 COM addin template that shows command
bars on Explorers and how to use wrappers for multiple open Explorers so
your buttons don't get confused. That template also shows many workarounds
for Outlook COM addin bugs.

For an example of an Inspector wrapper for VB 6 for multiple open Inspectors
see http://www.slovaktech.com/code_samples.htm#InspectorWrapper
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top