ImpelClass Library Documentation
Win32Finder Class
NamespacesImpelWin32Finder
Impel
A class for finding windows using the windows API.
Declaration Syntax
C#Visual BasicVisual C++
public class Win32Finder
Public Class Win32Finder
public ref class Win32Finder
Members
All MembersConstructorsMethodsFields



IconMemberDescription
Win32Finder(String)
Constructor

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
escape(String)
Escapes special characters in a string so it can be used as a finder property.

Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindFirst(IntPtr)
Finds the first item that matches this finder

GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
index
The index of the object to be located with this finder.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
parent
A nested finder (if there is one) - in{...}

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
windowClass
The Win32 class of the object to be located with this finder.

windowText
The text of the object to be located with this finder.

Remarks
Win32 finder strings can contain the following property identifiers: Class - The Win32 ClassName of the object to find [Win32Automation.GetWin32ClassName] Text - The text propery of the object to find [Win32Automation.GetWindowText] Index - The index of this object within its parent (Class and Text are ignored if Index is used) [Win32Automation.GetChildWindows] Win32 finders can be nested using in{} statements. When searching for an object this class will locate the innermost "in{}" statement and find that object. Then it will use it as the starting point to search for the next innermost "in" and so on till the outermost finder object is found.
Examples
Win32:Class=Button,Text=7,in{Class=SciCalc,Text=Calculator} Win32:Index=65,in{Class=SciCalc,Text=Calculator}
Inheritance Hierarchy
Object
Win32Finder

Assembly: Impel.Win32Automation (Module: Impel.Win32Automation) Version: 1.0.0.0 (1.0.0.0)