Hi,

I have two toplevel windows, one is placed directly over the other one and they are both the same width and hight and position. When the top window is moved I need to move the bottom window simultaneously. I have tried handing the WM_MOVING event of the top window and then placing code in that event to move the bottom window.

This works, but it is not smooth. I need both windows to have their position change at the exact same time so that it is seamless!!

How can I do this?
Is there a way? could someone post an example?

P.S Adding one window as a child window is absolutely not an option for me. Just so you know.

Thanks,
Greg