PDA

View Full Version : Set the ARP icon programmatically



sks2004
07-11-2005, 06:01 PM
How does one set the ARP icon programmatically?

RobertDickau
07-12-2005, 07:07 PM
I don't think there's an easy "official" way to modify it at run time: ARPPRODUCTICON wants a reference to the Icon table, and that's nontrivial to modify at run time. (If you want to modify it at build time, that's another matter.)

I suppose you could write to the registry directly; I haven't tried it, but you might need to resort to trickery for repair operations and so forth.