Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!mit-eddie!uw-beaver!Teknowledge.COM!unix!hplabs!hpfcso!hpfinote!jhs From: jhs@hpfinote.HP.COM (John Stanback) Newsgroups: comp.sys.ibm.pc.programmer Subject: Mouse Event Handler Questions Message-ID: <29630001@hpfinote.HP.COM> Date: 22 Feb 90 15:51:55 GMT Organization: Hewlett Packard CICD Lines: 14 I'm trying to install a mouse event handler function using TurboC 1.5 with the medium memory model. The mouse handler is installed using INT 33, function 12. The references I've seen to doing this use an area in the PSP to store the mouse event status and access this memory referencing _CS in the mouse handler. This seems to work in the small memory model, but not in the medium. How can I store the mouse event status using the medium memory model???? Also, I would like to be able to access the programs global variables from the mouse handler. Is this possible??? Thanx, John Stanback jhs@hpfcla.HP.COM