Re: Tunneling mouse events through windows?
Re: Tunneling mouse events through windows?
- Subject: Re: Tunneling mouse events through windows?
- From: Geoff Lane <email@hidden>
- Date: Wed, 19 Nov 2003 16:33:34 -0600
Don't raise the window and don't bring the new menu bar into play.
This is exactly how it's done with the Terminal.app. You can have
Terminal under Safari (for example) copy a link, hover over Terminal and
paste the link into Terminal.
Safari stays on top, the Safari menu bar stays, Terminal gets the paste
event, keyboard events, etc. until I hover back to Safari. If you need
to do something with the Terminal menu (or any apps' menu) you click to
raise it.
Hope I explained it well.
I want to say that at one point I read about 2 states of a Window (or
View or the like). One was asking it to raise and one was asking it to
accept another status along the lines of becoming the main window. I
can't find it off hand right now.
It has to be possible on an Application basis as Terminal does it. I was
just hoping for a broader scope that would allow us to use it across all
apps. E.g. Sit in between the Window Manager and the NSApplications and
listen for mouse enetred events or the like.
Angela Brett wrote:
Focus-Follows-Mouse - that's what I want to figure out how to do
efficiently.
What happens when the mouse moves over some other app on the way to the
menu bar and the menu it was heading towards disappears because it's not
available in the application which just got the focus?
Angela Brett
email@hidden
http://macintosh.geek.nz
--
Geoff Lane <email@hidden>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.