If you want to use one of the built-in icons for your
custom Outlook menu item or toolbar button, you'll need to know its
FaceID. Here are all the FaceID's for the builtin Outlook 2000 icons.
These ID's appear to be the same across different language versions of
Outlook. Select the thumbnails to see larger tables.
ID 0-500 ID 501-1500 ID 1001-1500 ID 1501-2000
ID 2001-2500 ID 2501-3000 ID 3001-3500 ID 3501-4000
ID 4001-4500 ID 5401-5500 ID 5501-5685
Here is the code that was used to generate the above images. It also shows you how to use the FaceID property to set the corresponding icon on you custom button.
Option Explicit
Function Item_Open()
Dim objCBs
Dim objMyCB
Dim objButton
Dim i
Set objCBs = Item.GetInspector.CommandBars
Set objMyCB = objCBs.Add("Icons")
objMyCB.Visible = True
For i = 0 to 500
Set objButton = objMYCB.Controls.Add
objButton.Style = 3
objButton.Caption = i
objButton.FaceID = i
objButton.Visible = True
Next
End Function
How did you like this article? Please vote and let us know.
Disclaimer: Your use of the information
contained in these pages is at your sole risk. All information
on these pages is provided "as is", without any warranty,
whether express or implied, of its accuracy, completeness,
fitness for a particular purpose, title or non-infringement, and
none of the third-party products or information mentioned in the
work are authored, recommended, supported or guaranteed by Pro
Exchange.
OutlookExchange.Com and Pro Exchange shall not be liable for any damages
you may sustain by using this information, whether direct,
indirect, special, incidental or consequential, even if it has
been advised of the possibility of such damages.