Good Morning Jerry: A note is on the screen saying the mouse and kbd are disabled. But they will not read it anyway and I am sure I will get calls... The consultants probably have better seats than I do! As soon as I can they are going bye-bye! They have insulted me for the last time. Regards,
Jack ________________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Jerry Wolper [EMAIL PROTECTED] Sent: Monday, October 06, 2008 2:52 AM To: [EMAIL PROTECTED] Subject: RE: Disable Mouse When A Form Is Visible...solved... > The issue has been solved in disabling the mouse and keyboard while sendkeys > is > sending its data to the correct window. > The BlockInput function in user32.dll does the trick perfectly (famous last > words). > VFP declaration:... > I block the input just before the window is created then restore input after > the > window is destroyed. The mouse is frozen and the keyboard is blocked. I'm glad to see it works. As others have suggested, make sure there's a message saying that the mouse and keyboard are (deliberately) disabled so users don't panic about their crashed machines. > I'm sure I will billed for this but it remains whether payment will > follow...Why is getting > information so darn hard to get? (rhetorically he says...) You can always pay them in tickets for a Panthers game... -Jerry Wolper [EMAIL PROTECTED] [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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.

