What window is the mouse over?
What window is the mouse over?
- Subject: What window is the mouse over?
- From: Karl Kraft <email@hidden>
- Date: Tue, 22 Apr 2003 11:22:57 -0500
In NeXTSTEP/OpenStep/Rhapsody, you could find what window a mouse was
over by using the postscript command findwindow. This is necessary if
you want to write your own drag and drop interface, or something that
can respond as the user is just moving the mouse around.
Somehow when I get a mouse click, NSEvent is able to tell me the
affected window. Anyone know how it acomplishes this?
Right now, I'm walking the windowlist from NSApp, but it doesn't tell
me the order of the windows on the screen, so it's impossible to know
what point on the screen is drawn by which window.
--
To purchase it is not like spending money
but rather it is an investment in the future
in a blow against the empire
_______________________________________________
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.