After some extra,,,, extra,,, extra effort I "solved" the issue of the missing images in the Label class. Still needs testing, but so far it looks fine.
The problem is a bug in the WinCreatePointerIndirect that ignores the mini icons. The solution was to draw the image using the GPI Api in the WM_PAINT of the Label class. I used the code from the Botton class that implemented the same solution.
I decided to allow the WinCreatePointerIndirect to work for regular size icons. There is a pallete problem there and the will be problems when the image is 32x32 and the resolution calls for the use of 40x40 icons. In that case PM will scale the icon and it will look ugly.
I'll clean up the code and will upload the changes this week.
Tuesday, November 3, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment