FROM : cai qin
DATE : Tue Feb 19 23:17:32 2008
Using carbon HIView , I think that should work. But I haven't try yet . What
I think is after I finished my custom view , then attach the view to
menuItem
2008/2/19, Jean-Daniel Dupas <<email_removed>>:
>
>
> 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 23:17:32 2008
Using carbon HIView , I think that should work. But I haven't try yet . What
I think is after I finished my custom view , then attach the view to
menuItem
2008/2/19, Jean-Daniel Dupas <<email_removed>>:
>
>
> 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

