http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/hh/gdi/pantdraw_2s32.asp
I've tried this on two machines running Win2000 and one running Win98, and the
child windows are painted in the wrong order. I've verified this using TRACE
statements, and if I click on an area where two child windows overlap, the
window that appears to be on top does not get the WM_LBUTTONDOWN message.
So far, the only fix I've found is to use the WS_CLIPSIBLINGS style, but this is
ultimately not what I want. I want the top windows to be able to paint over the
bottom windows so that they can have transparent areas. I've tried using the
WS_EX_TRANSPARENT style, but that doesn't appear to do anything at all.
Does anyone know how I can get the child windows to repaint in the correct
order? Is this a bug in Windows or in MFC?
-Adam