Alex
Alex

Reputation: 11

Make an cocoa window TOPMOST between all running applications

I've created a Cocoa application made of a little window that needs to be the topmost window between ALL running application. E.g.: if iTunes is also running my window needs to stay on top.

Can anyone help me figure out how to do this?

Thank you.

Upvotes: 1

Views: 1123

Answers (1)

Jay
Jay

Reputation: 6638

You need to set the window level (NSStatusWindowLevel or NSScreenSaverWindowLevel should do the trick to keep on top of all running apps):

ADC:

CocoaDev:

Upvotes: 4

Related Questions