Fluffy toolbar icons

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fluffy toolbar icons

Smalltalkiano
Hi all,

    I've a toolbar and I want to show my own icons.

    For that, I've made a BMP of 320x16 pixels. I've tried 24bpp and 8bpp
color depth, and with and without RLE compression.

    I cannot view more than a sort of fluff on each button. Selecting the
DIBSection shows the BMP ok in the right of the publisher aspect inspector
but in the shell of the application don't.

    I'll try Bitmap instead of DIBSection and see...

regards,

Sebastian


Reply | Threaded
Open this post in threaded view
|

Re: Fluffy toolbar icons

Ian Bartholomew-4
Sebastian,

> I've a toolbar and I want to show my own icons.

320x16 at 8bpp (or 4bpp) should work, as should using DIBSections.

Some possibilities -

> I cannot view more than a sort of fluff on each button.

That does sound a bit like an incorrect format problem. Try using a
different bitmap editor to create the bitmap (maybe even my ImageEditor
goodie?). I have come across the occasional editor that does something
"strange" to the bitmaps that seem to cause problems in certain situations -
which may explain why the inspector works but the toolbar doesn't.

Try putting copies of the bitmap into different folders. It may just be a
problem of the toolbar not being able to locate the bitmap.

(unlikely) You did remember that the bitmap offset numbers start at 0. That
can cause a bit of confusion if you do a test with only one (16x16) bitmap
drawn on the large bitmap.

Ian


Reply | Threaded
Open this post in threaded view
|

Re: Fluffy toolbar icons

Sebastián
Ian,

    I´ve used you bipmaps editor and everithings goes ok

thanks (again)

Seb



"Ian Bartholomew" <[hidden email]> escribió en el mensaje
news:t_kn7.15720$NE.1111928@wards...

> Sebastian,
>
> > I've a toolbar and I want to show my own icons.
>
> 320x16 at 8bpp (or 4bpp) should work, as should using DIBSections.
>
> Some possibilities -
>
> > I cannot view more than a sort of fluff on each button.
>
> That does sound a bit like an incorrect format problem. Try using a
> different bitmap editor to create the bitmap (maybe even my ImageEditor
> goodie?). I have come across the occasional editor that does something
> "strange" to the bitmaps that seem to cause problems in certain
situations -
> which may explain why the inspector works but the toolbar doesn't.
>
> Try putting copies of the bitmap into different folders. It may just be a
> problem of the toolbar not being able to locate the bitmap.
>
> (unlikely) You did remember that the bitmap offset numbers start at 0.
That
> can cause a bit of confusion if you do a test with only one (16x16) bitmap
> drawn on the large bitmap.
>
> Ian
>
>
>
>