Actually, from a "Windows API" perspective, it doesn't. From the Windows perspective, a window gain focus event fires each time the user clicks anywhere in the window, thus putting focus on it...that includes clicking on the window title bar, resize buttons, etc.
________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Shafqat Ayaz Sent: Thursday, July 05, 2007 10:31 AM To: arslist@ARSLIST.ORG Subject: Re: Form/Window Gain Focus Event Hello Michael why don't you use Window Open? it will give you the same thing as a gain focus for a window! Shafqat Ayaz "Break the Rules, Forgive Quickly, Kiss Slowly, Love Truly, Laugh Uncontrollably, And Never Regret anything that made you Smile.." ----- Original Message ---- From: "Durrant, Michael M. - ITSD" <[EMAIL PROTECTED]> To: arslist@ARSLIST.ORG Sent: Thursday, July 5, 2007 10:45:22 AM Subject: Form/Window Gain Focus Event ** Is there an event that fires when a Window/Form gains focus? I would like to have a Change Fields -> Refresh Table event whenever the user focuses on the window. Any ideas? The information contained in this email may be privileged, confidential or otherwise protected from disclosure. All persons are advised that they may face penalties under state and federal law for sharing this information with unauthorized individuals. If you received this email in error, please reply to the sender that you have received this information in error. Also, please delete this email after replying to the sender. __20060125_______________________This posting was submitted with HTML in it___ ________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! <http://us.rd.yahoo.com/evt=48517/*http:/surveylink.yahoo.com/gmrs/yahoo _panel_invite.asp?a=7> __20060125_______________________This posting was submitted with HTML in it___ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"