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

HUD Windows in REALbasic

20 02 10 - 23:12 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
No comments

  
Remember personal info?

Emoticons / Textile

Comment moderation is enabled on this site. This means that your comment will not be visible on this site until it has been approved by an editor.



Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.