Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!umd5!brianf From: brianf@umd5.umd.edu (Brian Farmer) Newsgroups: comp.windows.ms.programmer Subject: Re: Tracking the mouse... Message-ID: <7507@umd5.umd.edu> Date: 1 Nov 90 20:43:32 GMT References: <5538@hsv3.UUCP> Reply-To: brianf@umd5.umd.edu (Brian Farmer) Organization: University of Maryland, College Park Lines: 13 In article <5538@hsv3.UUCP> jls@hsv3.UUCP (James Seidman) writes: > >I'm trying to create a child window which can tell when the cursor goes in >or out of it. The state of the window needs to be different depending on >whether or not the cursor is currently inside it. > Have you thought of setting a system hook? WH_GETMESSAGE looks like the best bet for what you are trying to do. This would let you monitor mouse movements on a system wide basis. Brian Farmer