http://bugs.winehq.org/show_bug.cgi?id=3023
--- Comment #28 from Erich Hoover ehoover@mines.edu 2011-09-27 11:48:16 CDT --- So, has anyone tried moving the WINPOS_ActivateOtherWindow call before the call to SetWindowPos? (I don't have a copy of OrCad anymore, just going through my list of open CCd bugs) If I had to guess, I'd say that OrCad is trapping the WM_WINDOWPOSCHANGING call, changing the active window, and then we end up overriding it with WINPOS_ActivateOtherWindow.