开发者

NSEvent or NSNotification when window becomes active

In Mac OS X, is there a method to o开发者_C百科verride that runs every time a window gains focus?


Yes. NSWindowDidBecomeKeyNotification and NSWindowDidBecomeMainNotification, depending on your intent.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜