c++ - SetWindowPos doesn't work with put_Visible(false) -
i trying use setwindowpos put new opened ie window in background.
the problem works after use put_visible(variant_true). while window not visible, setwindowpos won't anything. if use put_visible(variant_true) before setwindowpos makes window appear on top second, , go back.
how can avoid , make new window appear in background without appearing first on top?
here tried:
hwnd_bottom, 0, 0, 0, 0, swp_nomove | swp_nosize using put_visible(variant_true) before setwindowpos, , works, shows on top of windows before going back.
Comments
Post a Comment