Page History
...
This property is ignored if the button's image was loaded from an .ico file since icon files already contain the transparent pixels.
Example
Code Block |
---|
// Set the button's image Set_Property(@Window:".OLE_BUTTON", "OLE.Icon", "MyImage.bmp") // make pure blue the transparent color Set_Property(@Window:".OLE_BUTTON", "OLE.TransparentColor", RGB(0, 0, 255 |