🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9262

WIN_EVENT_PROC

#9262
From: Srinivas Eswara
Date: Tue, 29 Nov 1988 05:33
16 lines
1183 bytes
I have an application with Textsw's where I need to be notified everytime
then user presses <return>. I tried using WIN_EVENT _PROC, which is
suposed to call my procedure for any input event, but nothing happens.
This proc works fine for canvas and other surfaces but apparently, textsw
grabs all input itself and does not allow any user defined procs, because
all normal functions like mouse input handling, keyboard handling, go on
inspite of WIN_EVENT_PROC. 

Any ideas, please? And if I get this working, do I have to handle all
input in my proc or can I call the default proc (?) after I do my
processing of <return>?

Thanks,
Srinivas Eswara,
Concordia University, MTL
eswara@deervax.concordia.ca
Technical Details
Message-ID: <115*eswara@deervax.concordia.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!ucbvax!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!ucbvax!husc6!rice!sun-spots-request
From: eswara@deervax.concordia.ca (Srinivas Eswara)
Newsgroups: comp.sys.sun
Subject: WIN_EVENT_PROC
Message-ID: <115*eswara@deervax.concordia.ca>
Date: 29 Nov 88 05:33:05 GMT
Sender: usenet@rice.edu
Organization: Rice University, Houston, Texas
Lines: 16
Approved: Sun-Spots@rice.edu
Original-Date: 15 Nov 88 10:47 -0500
X-Sun-Spots-Digest: Volume 7, Issue 27, message 1 of 12