I'm writing an app which needs to load an image at runtime into a status bar control.

The problem is that the image (bitmap) is a certain size and needs to be stretched to fit the box, but the control just sizes the image vertically and not horizontally. Can some one please give me some feedback or sample code on what to do.

I've thought about using StretchBlt, would this help at all? I'm having trouble getting the handle of the correct panel in the status bar control. If you need any more information, just post a response. Please respond...

Thanks

David Richardson