Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5225

How to grab pointer

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From FredK <fred.l.kleinschmidt@gmail.com>
Newsgroups comp.lang.java.gui
Subject How to grab pointer
Date Wed, 15 Aug 2012 10:45:25 -0700 (PDT)
Organization http://groups.google.com
Lines 3
Message-ID <6d596f35-fd58-4593-b40c-7cd54dbe23f1@googlegroups.com> (permalink)
NNTP-Posting-Host 130.76.32.197
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1345053170 13483 127.0.0.1 (15 Aug 2012 17:52:50 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Wed, 15 Aug 2012 17:52:50 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=130.76.32.197; posting-account=_7xgmwoAAADi7iXKBO-oX5zbCfSzsCV0
User-Agent G2/1.0
Xref csiph.com comp.lang.java.gui:5225

Show key headers only | View raw


How do I grab the pointer (similar to X's XGrabPointer), such that all mouse events will be sent only to my component that has the grab, until I relaease the grab?

I want to initiate the grab, then allow the user to go anywhere on the screen and click somewhere; I will capture the location of the click and do something appropriate, depending on where the click occurred.

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar


Thread

How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-15 10:45 -0700
  Re: How to grab pointer Knute Johnson <nospam@knutejohnson.com> - 2012-08-15 12:09 -0700
    Re: How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-15 12:45 -0700
      Re: How to grab pointer markspace <-@.> - 2012-08-15 13:28 -0700
        Re: How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-15 13:40 -0700
          Re: How to grab pointer markspace <-@.> - 2012-08-15 14:30 -0700
          Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 17:48 -0400
            Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 18:18 -0400
              Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 19:48 -0400
                Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 20:03 -0400
                Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 20:16 -0400
                Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 20:58 -0400
                Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 21:34 -0400
                Re: How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-16 11:03 -0700
                Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-16 16:54 -0400
                Re: How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-16 15:10 -0700
                Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-16 21:17 -0400
                Re: How to grab pointer "John B. Matthews" <nospam@nospam.invalid> - 2012-08-16 20:40 -0400
                Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-16 21:11 -0400
          Re: How to grab pointer Knute Johnson <nospam@knutejohnson.com> - 2012-08-15 15:05 -0700
          Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-22 19:54 -0400
            Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-22 20:45 -0400

csiph-web