Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How do I give focus to a figure?
Date: Tue, 30 Oct 2007 04:12:57 +0000 (UTC)
Organization: Australian National Univ
Lines: 18
Message-ID: <fg6b09$4h$1@fred.mathworks.com>
References: <fg3s2p$jgd$1@fred.mathworks.com> <fg47k5$bvd$1@fred.mathworks.com>
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 1193717577 145 172.30.248.37 (30 Oct 2007 04:12:57 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 30 Oct 2007 04:12:57 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 556764
Xref: news.mathworks.com comp.soft-sys.matlab:435181



Thanks for your replies. 

As a quick feedback: 
- We have tried a few similar solutions to the 'ugly' work
around, and the problem is that we are getting into trouble
when trying to determine the cursor position during a key
press in the callback. That seems to depend on the button
position.

- The second solution is quite nice, we are using that at
the moment. The only problem I could find is that by
deactivating the buttons we are also loosing the tooltips.
(We added a function now that shows the tooltip in a help
window on right mouse button press).

Thanks again to all of you, 

Jochen