Z
zhzdl
Unregistered / Unconfirmed
GUEST, unregistred user!
我应用程序得到焦点或失去焦点时处理一些过程,要怎么捕捉消息才对,下面的方法为什么<br>行啊?谢谢大家了!<br>procedure TMainFrm.DoActivateMessage(var msg: TWMActivate);<br>begin<br> inherited;<br> case msg.Active of<br> WA_ACTIVE: close;<br> WA_CLICKACTIVE: Close;<br> WA_INACTIVE: Close;<br> end;<br>end;