Announcement
Collapse
No announcement yet.
imagelist add masked problem
Collapse
X
-
Thanks for your quick reply Steve. You got your reply in before I got my example attached. I see what overlays are used for now. I would like to make a suggestion that the help file explain this or maybe include your example in the help file.
Thanks again Steve.
Jim
Leave a comment:
-
-
imagelist add masked problem
I have had problems getting the IMAGELIST ADD MASKED command to work. I am using a standard 24 x 24 , 4 bit depth copy icon with a light gray background
Code:'-----make the imagelist and add the bitmap----------- GRAPHIC BITMAP LOAD "copy.bmp", 24, 24 TO ghBmp IMAGELIST NEW ICON 24, 24, 4, 1 TO hLst IMAGELIST ADD MASKED hLst,ghBmp,%LTGRAY TO result '-----show the image in the showscene routine----------- GRAPHIC CLEAR %RED GRAPHIC IMAGELIST (200,200), hLst, 1,0, %ILD_TRANSPARENT
I even tried using the Windows Imagelist API with the same results. Anyone else had this problem? I am lost.
JimAttached FilesLast edited by james klutho; 25 Sep 2009, 09:42 AM.Tags: None
Leave a comment: