I have an application that can have multiple top level windows (owned by the desktop). I am trying to control the order of these windows by using CWnd::SetOwner(). The problem is when I call SetOwner the owner is not getting changed. I am verifying this by using spy.
Any ideas why this call would be failing?