I thought I had solved this problem but I was wrong....
I have a main window and its client area contains a bmp as a background image. I then have a number of transparent (WS_EX_TRANSPARENT) static child windows that display images or text over the top of that.
I want to update the text that is shown in one of these child windows but I cant seem to clear the original text, resulting in overlapping, unreadable text. (see attached jpg)
I have tried using:
--------------------------------------------------------------------------
RedrawWindow(hwnd, NULL, NULL, RDW_ERASE | RDW_INVALIDATE); // where hwnd is the static window
--------------------------------------------------------------------------
and for a while I thought it worked; but it doesn't and I am beginning to lose my hair!!
Any help would be very gratefully received!
dom (on the edge of breakdown)