I work with someone else's window from my program. How to make so that all the windows that opens someone else's (main) window were immediately hidden? Now I open the other windows, find them HWND and hide them. Because of this, the windows appear for a moment, which would not be desirable. Thank!

Closed due to the fact that off-topic participants Abyx , insolor , sanmai , Android Android , vp_arth Jun 23 '17 at 16:41 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The message contains only the text of the task, in which there is no description of the problem, or the question is purely formal (" how do I do this task ") . To reopen the question, add a description of the specific problem, explain what does not work, what you see the problem. " - sanmai, Android Android, vp_arth
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • correct this someone else's program - Abyx
  • I do not have the source code of another program - Andrey
  • so what if there is no. edit right away CreateWindow - Abyx
  • 3
    @Andrey: There is no clear solution. The program must cooperate, otherwise you will have an arms race. - VladD
  • one
    Yes, and the opening of the window should after all occur after some event? Is not it ? - Andrey

0