开发者

Cocoa status bar (UIElement) app settings window

I got it all working, but when i click on the settings, the settings windo开发者_高级运维w (in nswindowcontroller) opens up on the back of other apps running on my mac. I want it in the front so user can see it when he clicks it.

Thank you all!


seems like i got it working finally! :)

[[NSApplication sharedApplication] activateIgnoringOtherApps:YES];

when the user clicks the settings menu item, i execute this code :) am writing this just in case if someone will look for a similar thing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜