-
October 31st, 2008, 11:49 AM
#1
loading bitmaps in an imagelist
Hi,
I have created a listview with pure win32 api(No MFC) , using CreateWindowEx. I have set a backpicture for this listview using LVM_SETBKIMAGE. I now want to load a few bitmaps from a file into the imagelist associated with this listview.
THE PROBLEM:
The bitmap has a lot of gray color(RGB(128,128,128)). Is there any way i can replace this color with a transparent color while loading the bitmap as an icon to the imagelist.
Any help will be appreciated. Thanks.
P.S. I am open to any alternate techniques to solve this problem.
-
November 1st, 2008, 05:03 AM
#2
Re: loading bitmaps in an imagelist
For Win32 api, always ask on Adv. win32 api ng
news://194.177.96.26/comp.os.ms-wind...ogrammer.win32
where this is a FAQ since 1995 (IL from Win9x)...
-
November 2nd, 2008, 09:27 AM
#3
Re: loading bitmaps in an imagelist
I am sorry to say, i am not too sure what i should do.Could you tell me what exactly that group is and whether i should post my question to that group.
Thanks in advance.
-
November 3rd, 2008, 05:41 PM
#4
Re: loading bitmaps in an imagelist
Please post the code you are using to create the image list.
Gort...Klaatu, Barada Nikto!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|