Author: FrancisFrancis
Date: Jan 11, 2008 12:23
On 10 jan, 22:31, Christian ASTOR wrote:
> Francis wrote:
>> I am creating an internet explorer toolbar that has toolbar buttons
>> where most buttons have an icon of 16 pixels in width and height.
>> However there is one button that is has 80x16 size and is used as a
>> drop-down menu.
>
>> Adding the large icon to the toolbar gives funny results. The large
>> icon is chopped up in icons of 16x16. The large button receives the
>> first piece, and all the icon buttons after it get a following piece
>> of it instead of their own icon.
>
>> I figure that the large icon is interpreted as adding 5 icons. This
>> despite the fact that I use TB_ADDBITMAP with wParam=1, meaning that
>> the image only contains one bitmap.
>
>> Can anyone help me with this problem?
>
> TB_ADDBITMAP adds bitmaps to the Toolbar ImageList, which has images of
> the same size. ...
|