Article View: comp.os.ms-windows.programmer.misc
Article #1732Re: Intercepting Windows Events
From: Dave Jones
Date: Mon, 21 Dec 1992 20:34
Date: Mon, 21 Dec 1992 20:34
35 lines
2146 bytes
2146 bytes
Thomas Kinsman (thomas@acadia.Kodak.COM) wrote: > > > There is a product I've seen advertised which makes noises on > different windows events (opening, maximizing, minimizing, etc...). > Is the ability to intercept Windows/3.1 events documented in the SDK, > and if so where? > > Thanks in advance. > > - Thomas B. Kinsman, Rochester, NY > -- > thomas@acadia.kodak.com Voice: 716/477-2831(w) Fax: 716/722-0160 > Thomas B. Kinsman, Eastman Kodak Co., Flr 3, Bldg 65, RL, Roch., NY 14650-1816 Hi Thomas! You must be referring to WHOOPS. Its an interesting concept, but given that the PC speaker driver suspends all other activities while it puts out the sound, I would find it tiresome to tag every event this way. Actually doing the trick is probably a matter of putting in a message filter hook function. Look at SetWindowsHook. The SDK used to warn that this degraded the efficiency of the system to intercept all messages. It might be different now. On the subject of newsgroups, comp.ms.windows.programmer has fallen into disuse since the comp.os. groups came on line. The comp.os.ms-windows group had to be subdivided because high volumes of "Is Not! Is Too!" messages were detracting from the usefulnesss of the group. The protagonists were arguing about whether MSW is an operating system or a shell. They have been banished to a .advocacy subgroup. -- ||------------------------------------------------------------------------ ||Dave Jones (dj@ekcolor.ssd.kodak.com)|Eastman Kodak Co. Rochester, NY |
Technical Details
Message-ID:
<1992Dec21.203459.24411@pixel.kodak.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!newsserver.pixel.kodak.com!ekcolor!djReferences:
<1992Dec21.185126.29542@kodak.kodak.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!newsserver.pixel.kodak.com!ekcolor!dj From: dj@ekcolor.ssd.kodak.com (Dave Jones) Subject: Re: Intercepting Windows Events Message-ID: <1992Dec21.203459.24411@pixel.kodak.com> Sender: news@pixel.kodak.com Organization: Vonnegut Tent Rentals, Inc. X-Newsreader: TIN [version 1.1 PL7] References: <1992Dec21.185126.29542@kodak.kodak.com> Date: Mon, 21 Dec 92 20:34:59 GMT Lines: 35