Re: Outlook CommandBarButton Picture & Mask

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If they would work at all they'd downgrade to 8-bit color, that's all a CommandBarButton can use as an image whether it's from an IPictureDisp object (Picture or Mask or AxHost) or the clipboard.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Nathan Hapke" <nhapke@xxxxxxxxxxxxxxxx> wrote in message news:Omo9HUmaHHA.2296@xxxxxxxxxxxxxxxxxxxxxxx
Good to know. Though, interestingly when I was using the Clipboard approach, 24bpp images seemed to work.

Nathan

.



Relevant Pages

  • Cant define a mask VB .NET for CommandBarButtons
    ... how to assing a custom picture to a custom CommandBarButton the way it ... method to load a selfmade bitmap into the CommandBarButton.Picture ... Since the Picture property of a CommandBar Button is ... It uses the PasteFacemethod of a CommandBarButton which retrieves ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: DVD Ripper
    ... Going from DVD to DivX/Xvid achieves a downgrade in ... >> picture and sound quality. ... >Picture and sound are noticeably downgraded on conversion. ... While there are some terrible XviDs out there, ...
    (alt.video.dvd)
  • Cannot add custom image to Office.CommandBarButton in Excel using
    ... Problem is that I always get a "Catastrophic Error" whenever I assign to the Picture or Mask property of the CommandBarButton. ... If I comment the assignment out all works well. ...
    (microsoft.public.excel.programming)
  • Re: Using resource file to store images
    ... Dump into an IPictureDisp object, ... |> If you noticed I mentioned that it was for a temporary web page. ... | to a Picture object at runtime. ...
    (microsoft.public.vb.general.discussion)
  • CreateDIBitmap - bitmap has wrong colors
    ... I'm using the following code to retrieve a DIB from an ... IDataObject and to convert it into an IPictureDisp object, ... // point to the DIB bits after the BITMAPINFO struct ... I then assign the retrieved picture to a Form's picture property ...
    (microsoft.public.win32.programmer.gdi)