doing a show() does not let gui update until resize window
doing a show() does not let gui update until resize window. I have a window that I hide for a while,(has to be over 30 min. or maybe after screensaver kicks in) then when I try to do a show and the gui pops up but it does not update. I am making correct updates to the gui, but they aren't seen until i physically resize开发者_如何学运维 the window. I'm thinking somehow the gui doesn't focus anymore. If I don't let it sit idle for a long time it never has a problem. Is there something I can do to force it to gain focus when I do the show()? thank you very much
To answer your question directly: You can also do a Focus()
to make the window focus (in theory anyway).
But I don't think this is your problem. Have you been able to reproduce this behavior on multiple computers?
精彩评论