Re: no title bar, no tool tips
Re: no title bar, no tool tips
- Subject: Re: no title bar, no tool tips
- From: Matt Neuburg <email@hidden>
- Date: Thu, 27 Dec 2001 08:20:53 -0800
On Wed, 26 Dec 2001 10:45:59 -0800, I said:
>
If a window is created with NSBorderlessWindowMask, tooltips don't function
>
in that window. Is this a bug?
This has now been answered (by Norbert Heger, thank you). The answer is:
no, it's not a bug, but it does seem to be one of those poorly documented
Cocoa interrelationships. Tooltips require the window to be key, but
setting the mask to NSBorderlessWindowMask overrides the rules about key
windows, so the solution is to make a subclass of NSWindow that insists it
can become key. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei