Note: This is in reference to buttons that are
not using CustomLook where the image is set inside the default grey rectangular button.
An example button containing an image follows:
code:
<Control xsi:type = "ButtonControl" Id = "EditQuestion">
<Position Left = "56" Top = "105" Width = "80" Height = "13"/>
<Image>
<Name>add</Name>
</Image>
</Control>
I want to be able to change the Image used during runtime. Since the image is not encapsulated in an ImageElement, I cannot use the function ImageElmt_SetImageFile to set it. How would you go about doing this?