Paul: This is what modal is for when you have a pure VFP app. But in my case this is not true. There are other open apps that VFP is 'talking to' as long as the current window doesn't change all is good. But if user activates another window and I am trying to load window 'x' and window 'y' becomes active all quickly goes down hill. I am sure that my users do not know alt+tab as a kbd shortcut... Ok on the message box idea. Thanks for any ideas you have. Regards,
Jack ________________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Paul McNett [EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 2:32 PM To: [EMAIL PROTECTED] Subject: Re: Disable Mouse When A Form Is Visible Jack Skelley wrote: > Actually is a very good idea...at least in my way of thinking... > I need to be able to prevent the user from clicking on a set of windows > (several are VFP windows) and several are Internet Explorer windows. I don't > want to let the user change the window that currently has focus. The VFP app > selects the window that is brought to the top then closes that window when it > is done. If the window is closed or changed to a window that should not get > the focus it 'messes' things up. > You know how users are...when in doubt click the mouse on something... I'm with Tracy. This is what Modal is for, and users must be trained anyway. And, you are treating a symptom. They could still Alt+Tab... My smartass suggestion: display a messagebox: "Press Okay once you've unplugged the mouse". :) Paul _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.