Xref: utzoo alt.msdos.programmer:2362 comp.os.msdos.programmer:2905 Path: utzoo!utgpu!cs.utexas.edu!samsung!sdd.hp.com!decwrl!mcnc!uvaarpa!murdoch!news From: jvb7u@Virginia.EDU (Jon Brinkmann) Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer Subject: Re: INT9 replacement with C Message-ID: <1991Jan23.014146.18740@murdoch.acc.Virginia.EDU> Date: 23 Jan 91 01:41:46 GMT References: <91013.021258ACPS2924@Ryerson.Ca> Sender: jvb7u@Virginia.EDU (Jon Brinkmann) Organization: Department of Astronomy, University of Virginia Lines: 26 In article <91013.021258ACPS2924@Ryerson.Ca> ACPS2924@Ryerson.Ca writes: #OK, # #This is what I would like to do, I'm writing an event manager to capture #key strokes from the user. I figure best place is to write an extension to #INT9 when the user hits a key. That's fine. I assume you are using MicroSoft C 5.1 or 6.0. There is an EXCELLENT article on writing TSRs in C in the MicroSoft Systems Journal: Christian, Kaare, "Using MicroSoft C Version 5.1 to Write Terminate-and-Stay-Resident Programs", MicroSoft Systems Journal, September 1988, Volume 3, Number 5, pages 47 - 57. The source-code examples are available from SIMTEL in the file: PD1:MSJV3-5.ARC One of the examples is a popup clock that uses W as the "hot key". Jon -- Jon Brinkmann Astronomy Department Internet: jvb7u@Virginia.EDU University of Virginia UUCP: ...!uunet!virginia!jvb7u P.O. Box 3818 SPAN/HEPnet: 6654::jvb7u Charlottesville, VA 22903-0818