开发者

winforms closing issue, vb.net

i have a vb.net 2.0 winforms appli开发者_如何学JAVAcation. When i open another application (like calculator ) have the focus to it and try to close my application the screen freeze and i have to use ctrl + alt + del to get it to refresh.

Any idea what can affect that?


If I understand your dilemma, somewhere you're sending SENDKEYS, and if you do not have focus and you SENDKEYs the app freezes.

Why not simply add a

if Me.Focus then SendKeys

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜