Code covered by the BSD License
Qun HAN (view profile)
01 Dec 2006
01 Dec 2006)
Set the uipushtool icon to an specified image.
Watch this File
Set the icon of the uipushtool on the toolbar to your specified image. Although you can do this by setting the uipushtool's CData, setIconImage can better preserve the transparency of the image after it is added on to the uipushtool.