A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

CommandBarButton with icon, caption and popup menu



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 1st 08, 01:33 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 6
Default CommandBarButton with icon, caption and popup menu

I'm trying to add a button of type msoControlPopup to a custom Outlook
commandbar. I need this button to be able to display an icon, as well
as a Caption. Also this button has sub items under it. It should look
exactly like the New / Send Receive buttons on the standard Outlook
toolbar (icon, Caption and popup menu). From what I've read on other
threads in this group, It is not possible to assign an icon to a
CommandBarButton of type msoControlPopup. It is also not possible to
create a button of type msoControlSplitButtonPopup , which is
apparently what the New / Send Receive buttons are. Is there any way
this functionality could be achieved using a standard
CommandBarButton? Or more specifically, since I can add a
CommandBarButton to the toolbar with both an icon and a caption, is
there any way to make it display a popup menu when it is clicked?

Thanks in advance,
Manoj
  #2  
Old May 1st 08, 02:46 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default CommandBarButton with icon, caption and popup menu

You can do whatever you want when the button is clicked, but you'd have to
display a popup menu in a separate form. It wouldn't be a normal
CommandBarPopup control menu.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
...
I'm trying to add a button of type msoControlPopup to a custom Outlook
commandbar. I need this button to be able to display an icon, as well
as a Caption. Also this button has sub items under it. It should look
exactly like the New / Send Receive buttons on the standard Outlook
toolbar (icon, Caption and popup menu). From what I've read on other
threads in this group, It is not possible to assign an icon to a
CommandBarButton of type msoControlPopup. It is also not possible to
create a button of type msoControlSplitButtonPopup , which is
apparently what the New / Send Receive buttons are. Is there any way
this functionality could be achieved using a standard
CommandBarButton? Or more specifically, since I can add a
CommandBarButton to the toolbar with both an icon and a caption, is
there any way to make it display a popup menu when it is clicked?

Thanks in advance,
Manoj


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CommandBarButton with icon, caption and popup menu [email protected] Outlook and VBA 0 May 1st 08 01:30 PM
Print greyed out on file menu, drop down menu, and toolbar icon greyed out Paul.Whiffin Outlook Express 1 November 7th 07 03:02 PM
Outlook 2007 Icon on Start Menu doesn't work Gordon Outlook - General Queries 3 May 1st 07 05:22 PM
send icon in tools menu wiola Outlook - General Queries 1 November 2nd 06 04:05 AM
How to add an Icon to a commandBarButton David Outlook and VBA 1 March 29th 06 05:39 PM


All times are GMT +1. The time now is 12:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.