Help Add button Popup

  • Thread starter Thread starter Robert
  • Start date Start date
R

Robert

I want to give my user the possibility to select (by right click) an email
from the outlook email grid to have the contextual menu with a new command
button: "send to another software"

I was wondering if it's possible to do this in outlook by using VB6... do
you know if it's possible??
 
Outlook does not directly expose the right-click context menu in its CommandBars collection. You will, however, see a new right-click command is when the item selected is using a custom form that includes one or more custom actions. You can also add a custom action without using a custom form, as demonstrated at http://www.outlookcode.com/codedetail.aspx?id=526

Richard Kagerer has posted a code sample at http://www.outlookcode.com/codedetail.aspx?id=314 that shows how you might trick Outlook into exposing the context menu through Explorer.CommandBars.

The C++ sample add-in at http://www.codeproject.com/atl/outlook2k3addin.asp also shows a technique for working with the context menu.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Ok. Example It Works..

But i Would Insert Button Not Temporany (Closing outlook Button removed) but
Always(the button Insert outlook permanent)

Thank you

"Sue Mosher [MVP-Outlook]" <[email protected]> ha scritto nel messaggio
Outlook does not directly expose the right-click context menu in its
CommandBars collection. You will, however, see a new right-click command is
when the item selected is using a custom form that includes one or more
custom actions. You can also add a custom action without using a custom
form, as demonstrated at http://www.outlookcode.com/codedetail.aspx?id=526

Richard Kagerer has posted a code sample at
http://www.outlookcode.com/codedetail.aspx?id=314 that shows how you might
trick Outlook into exposing the context menu through Explorer.CommandBars.

The C++ sample add-in at http://www.codeproject.com/atl/outlook2k3addin.asp
also shows a technique for working with the context menu.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I'd never do that in an add-in. What if your user uninstalls or disables the add-in? The user would be left then with an orphaned button that does nothing. Creating buttons with Temporary=True avoids that problem.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Robert said:
Ok. Example It Works..

But i Would Insert Button Not Temporany (Closing outlook Button removed) but
Always(the button Insert outlook permanent)

Thank you

"Sue Mosher [MVP-Outlook]" <[email protected]> ha scritto nel messaggio
Outlook does not directly expose the right-click context menu in its
CommandBars collection. You will, however, see a new right-click command is
when the item selected is using a custom form that includes one or more
custom actions. You can also add a custom action without using a custom
form, as demonstrated at http://www.outlookcode.com/codedetail.aspx?id=526

Richard Kagerer has posted a code sample at
http://www.outlookcode.com/codedetail.aspx?id=314 that shows how you might
trick Outlook into exposing the context menu through Explorer.CommandBars.

The C++ sample add-in at http://www.codeproject.com/atl/outlook2k3addin.asp
also shows a technique for working with the context menu.
 
I must always interact with my application..

I had read from some part that it could be associated a My DLL to "My custom
Button"

is true?
 
Sorry, but I don't understand the question.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Excuse me..
I'm italian..

i want to insert definitively my personalyzed command button in the outlook
pop-up menu.
I don't want to add it every time that i open outlook. it seems to me that
is possibile to associate a dll or an exe to this command;

P.S I don't want to have an exe in the system memory that check every time
that outlook is open!

is this true?
 
Sounds like what you want to do is build a COM add-in, which is a type of application that loads whenever Outlook loads. See http://www.outlookcode.com/d/comaddins.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top