[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I get the current location of a window?



As far as I can tell, there is no way to get the current X,Y position of
the upper-right hand corner of the window.  I want to be able to get that
position so that I can later feed it into MoveWindow (I'm writing a Finder
Extension, and want the window's position to be preserved between uses).

Any suggestions?

- Eric S.

--
Eric D. Shepherd                   | Apple II Alliance Charter Member
InterNet: uerics@mcl.mcl.ucsb.edu  |           ACM Member
FidoNet:  1:206/2713 Eric Shepherd | Programming Law #1: "When in
AOL:      Sheppy                   | doubt, rewrite from scratch."