Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!brutus.cs.uiuc.edu!apple!excelan!jeffs From: jeffs@ka.excelan.com (Jeff Seideman) Newsgroups: comp.windows.ms Subject: Re: capturing system messages Message-ID: <734@excelan.COM> Date: 17 Nov 89 18:51:21 GMT Article-I.D.: excelan.734 References: <32625@ucbvax.BERKELEY.EDU> Sender: news@excelan.COM Reply-To: jeffs@excelan.com (Jeff Seideman) Organization: Novell, Inc., San Jose, Califonia Lines: 19 In article <32625@ucbvax.BERKELEY.EDU> kipnis@janus.Berkeley.EDU (Gary Kipnis) writes: >Hi, I would like to monitor system messages from within my program, i.e. >mouse movement, keyboard pressed, etc... >What messages should I look for in my window procedure. > >thank you, > >gary The easiest way to see the relevent messages is to run the spy.exe that comes with the windows sdk. If you select the mouse, keyboard options and select your program's window, voila, you'll see what messages you'll want to monitor in your program. Jeff Seideman Aw, mama, is this really the end? to be stuck in Silicon Valley with the hi-tech blues again.