Re: How to create msoControlSplitButtonPopup type button?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Vladimir Chtchetkine (vladimir.chtchetkine_at_borland.com)
Date: 02/08/05


Date: Mon, 7 Feb 2005 18:00:47 -0800

OK, I found a remark that you can't do it...
Hmmmm.... But "New" button in outlook IS type 13!

"Vladimir Chtchetkine" <vladimir.chtchetkine@borland.com> wrote in message
news:Oc0X$%23XDFHA.936@TK2MSFTNGP12.phx.gbl...
> I can vaguely remember seeing a code that does that (adds a toolbar with a
> button that has an "arrow" to its right, just like "New" button in
Outlook).
> Anyway, when I try to do it by simply calling
> Add(msoControlSplitButtonPopup,.) on my toolbar's CommanBarControls I'm
> getting an error (E_INVALIDARG).
>
> For now I'm fine with creating msoControlPopup but this doesn't allow me
to
> put a picture next to caption which breaks the entire UI look. So, if
> anybody can advice me on that this would be great!
>
>
>
> TIA,
>
>
>
> Vladimir
>
>


Quantcast