Announcement

Collapse
No announcement yet.

IMAGELIST ADD MASKED question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • IMAGELIST ADD MASKED question

    There is something I'm surely missing.

    I use the following to add a bitmap to an IMAGELIST where PINK color (255, 0, 255) is used as transparency:
    IMAGELIST ADD MASKED hLst, Bmp$, RGB(255, 0, 255)
    but when I use that bitmap in a treeview, the pink color is substituted with black color and no transparency.

    What I'm missing?

    Thanks
    Eros
    Attached Files
    Last edited by Eros Olmi; 3 Dec 2008, 10:33 AM.
    thinBasic programming language
    Win10 64bit - 8GB Ram - i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  • #2
    Ok, I found.

    I was creating
    Code:
    IMAGELIST NEW BITMAP ...
    instead of
    Code:
    IMAGELIST NEW ICON ...
    Eros
    thinBasic programming language
    Win10 64bit - 8GB Ram - i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

    Comment

    Working...
    X