Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!pikes!mercury.cair.du.edu!mnemosyne.cs.du.edu!isis.cs.du.edu!ebergman From: ebergman@isis.cs.du.edu (Eric Bergman-Terrell) Newsgroups: comp.windows.ms.programmer Subject: Re: Focus in Dialog Box? Message-ID: <1991May19.151948.22042@mnemosyne.cs.du.edu> Date: 19 May 91 15:19:48 GMT References: Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Reply-To: ebergman@isis.UUCP (Eric Bergman-Terrell) Distribution: comp Organization: Nyx, Public Access Unix (sponsored by U. of Denver Math/CS dept.) Lines: 7 Disclaimer1: Nyx is a public access Unix system run by the University of Disclaimer2: Denver for the Denver community. The University has neither Disclaimer3: control over nor responsibility for the opinions of users. Sounds like GetFocus(), which returns the handle of the active window, is what you want. Consider getting the Windows Guide to Programming and the Windows Prog. Ref. Both are definitely worth the money (like you I started out with just Petzold's book). Terrell