🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #38165

Re: sending events while grabbing pointer

#38165
From: Vladimir T. Romanovski
Date: Sun, 13 Feb 1994 20:58
19 lines
1896 bytes
Alex Pakter (alex@brt.com) wrote:
: Hey'all-

: 	I'm trying to do the following:

: 	I need to have my application pop up a shell, which the user
: can interact with.  If the user clicks in this shell (which has other
: widgets in it), I want these events to be processed normally.
: 	If the user clicks anywhere outside this shell, I need to catch this,
: so that my application can hide the popup shell.  Clicks outside the
: popup shell should not be processed except by my application.

: 	I need keyboard input to be enabled so that the user can type into
: a text field on my application which is NOT on the popup shell.

Why did you forget passive grab for pointer?
I think this is just for your problem.

Vladimir
Technical Details
Message-ID: <199402132058.romsky@oea.ihep.su>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!EU.net!news.funet.fi!news.eunet.fi!KremlSun!kiae!relcom!newsserv
References: <2jf0nf$ouk@brt.brt.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e286,a922d0c655114cab
X-Google-Attributes: gid10e286,public
X-Google-Thread: 1078e5,a922d0c655114cab
X-Google-Attributes: gid1078e5,public
X-Google-Thread: 103734,a922d0c655114cab
X-Google-Attributes: gid103734,public
X-Google-Thread: 10b6ac,a922d0c655114cab
X-Google-Attributes: gid10b6ac,public
X-Google-ArrivalTime: 1994-02-13 12:58:19 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!EU.net!news.funet.fi!news.eunet.fi!KremlSun!kiae!relcom!newsserv
From: "Vladimir T. Romanovski" <romsky@oea.ihep.su>
Newsgroups: comp.windows.x,comp.windows.x.motif,ba.windows.x,comp.windows.x.apps
Subject: Re: sending events while grabbing pointer
Date: Sun, 13 Feb 94 23:58:19 +0300
Distribution: inet
Organization: Institute for High Energy Physics, Serpukhov, SU
Message-ID: <199402132058.romsky@oea.ihep.su>
Sender: news-service@kiae.su
Reply-To: romsky@oea.ihep.su
References: <2jf0nf$ouk@brt.brt.com>
Followup-To: comp.windows.x,comp.windows.x.motif,ba.windows.x,comp.windows.x.apps
X-Return-Path: cpuv1.net.kiae.su!lpuds.oea.ihep.su!oea.ihep.su!romsky
Lines: 20