« Audio Bitrate on QTMo… | Home | HASP SRM »

HUD Windows in REALbasic

You can use use Cocoa HUD Windows on Mac OS X 10.5 and newer like this:

And here is the code:
dim style as integer = NSPanelMBS.NSClosableWindowMask + NSPanelMBS.NSTitledWindowMask + NSPanelMBS.NSUtilityWindowMask + NSPanelMBS.NSHUDWindowMask + NSPanelMBS.NSResizableWindowMask

static n as NSPanelMBS = new NSPanelMBS(100,100,200,200, style, NSPanelMBS.NSWindowBackingLocationDefault, false)

n.Title = "Hello World"
n.Show
20 02 10 - 23:12