Re: Is there any way to track mouse Entered & mouse Exited without a window in Tiger?
Re: Is there any way to track mouse Entered & mouse Exited without a window in Tiger?
- Subject: Re: Is there any way to track mouse Entered & mouse Exited without a window in Tiger?
- From: "cai qin" <email@hidden>
- Date: Tue, 19 Feb 2008 14:17:32 -0800
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@hidden>:
>
>
> 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).
>
>
_______________________________________________
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