|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Watch for a specific dialog box and respond to it (close it)I need to close a certain dialog box that windows will throw up
automatically. How can I watch for it and automatically respond? Stephen-
I'd probably do a FindWindow/FindWindowEx loop looking for the title or class name of the window in question and use keybd_event or sendmessage/postmessage with vk_click or similar constant to dismiss it. HTH Matt Show quoteHide quote "Stephen Corey" <swc@_NOSPAM_wardandsmith.com> wrote in message news:%23L5xWd4vFHA.3400@TK2MSFTNGP14.phx.gbl... >I need to close a certain dialog box that windows will throw up >automatically. How can I watch for it and automatically respond? On Thu, 22 Sep 2005 11:07:22 -0400, Stephen Corey
<swc@_NOSPAM_wardandsmith.com> wrote: >I need to close a certain dialog box that windows will throw up Use a timer and the FindWindo API function.>automatically. How can I watch for it and automatically respond? HTH, Bryan ____________________________________________________________ New Vision Software "When the going gets weird," Bryan Stafford "the weird turn pro." alpine_don'tsendspam@mvps.org Hunter S. Thompson - Microsoft MVP-Visual Basic Fear and Loathing in LasVegas
Personal function library
Multiple exe instances by version Normalizing data for quick extraction - ideas? Question about thread safety... Long process might fail...how to implement a timeout? DSN-Less Connections Manifest VB6 IDE Minimised Application Not Restoring or Maximising outlook-like application Should I learn this? |
|||||||||||||||||||||||