How can I draw something to an icon? I am unable to get the graphics from an icon, so that I can use the DrawLine procedures etc.

I really want to know this. And it needs to be done in-memory, and should not use files to store the icons.