uniquepito
uniquepito

Reputation: 853

How to create transparent notification window?

I'm not sure of the correct name, but I am wondering how to create (in Objective-C) a transparent notification "window/panel", such as is shown when you change the volume intensity, or keyboard illumination, or display brightness. I want to put my own icon/text on it, for my own notification. I don't know the words to Google for, so I'm asking here. Thanks for any suggestions.

Upvotes: 4

Views: 2010

Answers (3)

Ky -
Ky -

Reputation: 32083

After looking into using the solutions provided by the other two given answers, I found that they would not work for my purposes. So, I wrote up my own library:

BHBezelNotification

Upvotes: 5

Brad Larson
Brad Larson

Reputation: 170309

Matt Gemmell's RoundedFloatingPanel component on his sample code page may do just what you're looking for.

Upvotes: 6

Matt Ball
Matt Ball

Reputation: 359786

Growl is a widely-used implementation of this. By default, it doesn't look exactly like the system overlays, though it is skinnable - you probably want the Bezel notification:

enter image description here

See the Growl Developer Documentation for more.

Upvotes: 2

Related Questions