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).
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 mails | Author | Date |
|---|---|---|
| cai qin | Feb 19, 22:14 | |
| Jean-Daniel Dupas | Feb 19, 22:34 | |
| cai qin | Feb 19, 23:17 |






Cocoa mail archive

