[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Finding the window under a point
- To: info-macl@cambridge.apple.COM
- Subject: Finding the window under a point
- From: cornell@unix1.cs.umass.edu (Matthew Cornell)
- Date: Mon, 13 May 91 11:36:30 EDT
I need to know the window under a point. I can't use
find-view-containing-point as I don't have a view to pass it. I could
use #_FindWindow but how do you convert from the returned wptr to an
MCL window instance? Alternatively I could just cycle through
(windows) and return the first that answers point-in-rect-p using its
PortRect.
I'd appreciate hearning any cleaner ideas!
matt