Henri Verbeet : wined3d: Use SetWindowPos() to make the focus window active .