Hide dock icon / Show menu icon

Is it possible to hide the dock icon, and show a menu icon instead, for apps in Xojo? similar to most small utility apps like “Caffeine”?

There is lots of information on how to do that in this thread:
https://forum.xojo.com/11024-how-to-start-app-with-no-window-and-without-icon-in-dock

Lots of reading, but there’s some great posts from smart people there :slight_smile:

They talk about hiding the dock icon in that thread.

But they didn’t talk about how to put an icon in Apple’s Menu Bar? how can I do that?

[quote=116234:@Radium Radiovich]They talk about hiding the dock icon in that thread.

But they didn’t talk about how to put an icon in Apple’s Menu Bar? how can I do that?[/quote]

You may want to search the forum for NSStatusItem. I believe you got that in MacOSLib as well.