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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Setting the Icon for a msoControlPopup



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old June 10th 07, 03:43 PM posted to microsoft.public.outlook.program_addins
JahMic
external usenet poster
 
Posts: 35
Default Setting the Icon for a msoControlPopup

I'm trying to setup a toolbar drop down button, something similar to
the 'new' button. Everything is in place, except that I can't set an
icon for it. There must be a way, after all the new button has an
icon.

After calling 'add' to add it to the main toolbar, the Returned
control (CommandBarControl) doesn't have any direct methods for
PutFace or PutPicture. For normal buttons, I can just cast this to a
button control and use those methods, but for a Popup, this causes
many ugly things to happen, such as exceptions being thrown and such.

What is preferred way to do set an icon for such a control?

Thanks

 




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
Setting Icon for the default Mail List display JahMic Add-ins for Outlook 3 June 4th 07 08:40 PM
Removing Icon in Icon tray Bob Day Outlook - General Queries 3 October 11th 06 10:35 PM
Missing envelope icon on tray icon Cool As Blu Outlook - General Queries 1 August 8th 06 02:37 AM
Is there a policy or registry setting for setting the default addr scsi Outlook - Installation 1 February 28th 06 02:19 PM
Custom icon superseded by tracking icon Vaughan Outlook - Using Forms 4 February 24th 06 01:47 PM


All times are GMT +1. The time now is 08:48 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.