find and click

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Does anyone here know how to search for a particular window and if found
then set handles to all of its controls in it? I want to write an
application that looks for a particular window/dialog (usually confirmation
box) and click the yes or no or whatever button it has.

Please advice, thanks!
-P
 
Hello Paul,
Here is an interesting article on enumerating native windows (C# and interop),
Look under "Native Win32 Window lookup";
http://www.codeproject.com/csharp/popupkiller.asp

I am not sure you can do this solely in C# without crossing over into WinAPI.

Best of luck!
RBischoff , your C# ally

P> Hi,
P>
P> Does anyone here know how to search for a particular window and if
P> found then set handles to all of its controls in it? I want to
P> write an application that looks for a particular window/dialog
P> (usually confirmation box) and click the yes or no or whatever
P> button it has.
P>
P> Please advice, thanks!
P> -P
 
Back
Top