Alrighty, I know some people (including me) have wondered how you create a space to the right of the time in the menubar like PTHClock does.
This is an alternative to the MenuExtra method used by ASM, which requires you to use a bunch of hacks (as if this is not one). The source code for ASM is available at
http://x-asm.sourceforge.net/ .
Declare an "NSStatusItem *menuStatusItem."
Then,
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
globalMenu = [NSStatusBar systemStatusBar];
menuStatusItem = [[globalMenu _statusItemWithLength:<font color = blue>100.</font> withPriority:0xbfff] retain];
[menuStatusItem setTitle:<font color = orange>@""</font>];
[menuStatusItem setMenu:menu];
</font>[/code]
0xBFFF is the value I found disassembling PTHClock, so I don't quite know what that value signifies.
Bon appetit.