NSStatusItem problem
NSStatusItem problem
- Subject: NSStatusItem problem
- From: email@hidden (Christian Schmitz)
- Date: Thu, 8 Nov 2007 08:35:28 +0100
Hi,
I've got a problem in my applications.
I use NSStatusItem with text only.
Basicly something like that:
NSStatusBar *statusbar=[NSStatusBar systemStatusBar];
NSStatusItem* menuItem=[statusbar statusItemWithLength:-1];
if (menuItem)
{
[menuItem retain];
[menuItem setTitle:@"Test"];
[menuItem setHighlightMode:YES];
}
the menu is created and I can click on it.
Works nice in a stand alone Cocoa or Carbon application project.
But in my applications which are made in Realbasic, this menu will
install, but the clickable area in the menu is limited to the actual
text. All the space between the letters can't be clicked.
Has someone seen that before?
Works in 10.4, so this is a 10.5 only issue.
Gruß
Christian Schmitz
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden