Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to paint a gray Image, so I used it but it can't work in XP system.

the bug is:http://connect.microsoft.com/VisualStudio/feedback/details/322713/bug-in-cimagelist-drawindirect[^]

How can I do to fill the bug?


Thanks your advice.



jon..
Posted
Updated 31-Mar-11 17:27pm
v3

1 solution

If you go back to the page you linked to, you will see two tabs one marked 'Comments' and another marked 'Workarounds'. If you click on the Workarounds tab you will see a suggested ummmmmm... workaround.

Have you tried using that?
 
Share this answer
 
Comments
wzq000000 31-Mar-11 23:41pm    
Yes,I used the AfxImageList_DrawIndirect() function.It works well on Win7.The value that the function return is Ture.The return value is true in XP too,but the Image can't see.
wzq000000 31-Mar-11 23:49pm    
the version of IE is 8.0 in the XP and win7,the size of IMAGELISTDRAWPARAMS is 68
Henry Minute 1-Apr-11 6:38am    
The thread at --> http://www.eggheadcafe.com/software/aspnet/29420660/bug-in-cimagelistdrawindirect-in-mfc-version-8.aspx has what appears to be a solution to that problem.

I used AfxImageList_DrawIndirect windows xp, in case you want to look for similar postings.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900