home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!mips!decwrl!sun-barr!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu!mmigdol
- From: mmigdol@ccwf.cc.utexas.edu (michael a migdol)
- Newsgroups: comp.sys.mac.programmer
- Subject: Using PostHighLevelEvents to send low level (KeyPressed) events
- Message-ID: <76508@ut-emx.uucp>
- Date: 24 Jul 92 14:31:06 GMT
- Sender: news@ut-emx.uucp
- Reply-To: mmigdol@ccwf.cc.utexas.edu (michael a migdol)
- Distribution: na
- Organization: The University of Texas at Austin, Austin TX
- Lines: 16
- Originator: mmigdol@grumpy.cc.utexas.edu
-
- According to IM VI, p. 5-18, "Your application can both send and receive high-
- level events, but it generally only receives low-level events and should not
- send them."
-
- So, this implies that I *can* send KeyPressed events to other applications.
- (Even though I "shouldn't", I want to. I really do! :) )
-
- Anyways, Apple certainly doesn't seem to encourage this, and I'm about to try
- this out myself, but am I supposed to use PostHighLevelEvents with theEvent.what
- set to Keypressed (or whatever) to do this? Am I going to hit any problems
- later on? Does the application I'm sending to have to "AcceptHighLevelEvents"
- to receive low level events sent this way?
-
- Thanks in advance, and smile - it's FRIDAY!
- -Michael
-
-