tsc_ImageControl

This control displays an image.  Mouse events on the image, including up, down, click, and drag, are raised on the form that owns the tsc_ImageControl.

If no custom size is supplied, the control is sized to fit the first image that is displayed. Subsequently changing the image will not resize the control. User changes to the size of the window will also not resize the control.

void SetImage (const tsc_Image& image);

Changes or updates the image. The control keeps a reference to the image, however changes to the image will not trigger a redraw to update the screen - use RefreshImage to achieve this.

tsc_Image GetImage ();

Gets the current image (this is a reference to the original).

void RefreshImage ();

Flags the image as needing a redraw.  A request for a redraw will be issued to the window.