Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: setptr
Date: Wed, 30 Jan 2008 17:50:20 +0000 (UTC)
Organization: King's College London
Lines: 10
Message-ID: <fnqdcs$qu5$1@fred.mathworks.com>
References: <fno7h9$3mb$1@fred.mathworks.com> <fno8bj$pre$1@canopus.cc.umanitoba.ca>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1201715420 27589 172.30.248.37 (30 Jan 2008 17:50:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 30 Jan 2008 17:50:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477
Xref: news.mathworks.com comp.soft-sys.matlab:448357



setptr is a standard ML function - type help setptr

hittest is undocumented. It returns the handle of the 
object under the CurrentPoint in the figure. If 
WindowButtonMotionFcn or WindowButtonUpFcn are inactive, 
that should correspond to gco, the last object clicked on.
Otherwise it will be the object underneath the presently 
displayed cursor position. See the doc for figure 
properties (CurrentPoint).