Jim,

I found my method to be a little too flickery, so I tried yours. It doesn't work, I think because WM_PAINT only updates the client area of the window.

I had to use WM_NCPAINT (with wparam = 1) to update the caption.

Cheers,