Skip navigation.
 
mlRe: Is there any way to track mouse Entered & mouse Exited without a window in Tiger?
FROM : Jean-Daniel Dupas
DATE : Tue Feb 19 22:34:31 2008

Le 19 févr. 08 à 22:14, cai qin a écrit :

> I got a view which would be attached to the menu. And something I 
> need to
> track the mouse Entered & Exited message in that view.I find some 
> piece of
> code in documentation said that a window will manage all the tracking
> rectangle.
> So I wonder if I attach my view in menu item, is that mean I can't 
> tracking
> the mouse Entered & Exited message?
> Is there any way to track mouse Entered & mouse Exited without a 
> window in
> Tiger?
> _______________________________________________


A menu is a Window under the hood. If you wonder, why not try, it 
probably works?

Just by curiosity, how do you do to add a view in a menu in Tiger? 
([NSMenuItem setView;] was introduced in Leopard).

Related mailsAuthorDate
mlIs there any way to track mouse Entered & mouse Exited without a window in Tiger? cai qin Feb 19, 22:14
mlRe: Is there any way to track mouse Entered & mouse Exited without a window in Tiger? Jean-Daniel Dupas Feb 19, 22:34
mlRe: Is there any way to track mouse Entered & mouse Exited without a window in Tiger? cai qin Feb 19, 23:17