I am placing a button in another application window using the code from the link below:
https://stackoverflow.com/a/21036515/8435498
unfortunately the button is only visible for 2-3 seconds. then disappears. How can I find the reason. I want the button to be visible until the window in which I place it is closed. Below is a preview of what it looks like.

Источник: https://stackoverflow.com/questions/780 ... her-window
Мобильная версия