I'm using the win32 Platform SDK (on XP Pro) to create an app consisting a single main window with a number of child windows.
The styles passed to CreateWindow are WS_OVERLAPPEDWINDOW | WS_VISIBLE
(for the main window) and WS_CHILDWINDOW | WS_VISIBLE
for the children.
The error I'm seeing is that when another application is dragged on top of my app, the underlying windows are not redrawn. An easy (but kludgy) way to force an update is to 'jiggle' the titlebar.
I'm guessing that I'm missing a windows message or not calling a win32 function correctly. Most of my code is straight from Petzold's 95 book.
If it matters, the main window doesn't need to draw anything: the child windows handle all display duties.