Compartir a través de


Win32HelperMethods Class

Definition

Represents helper methods that provide convenient access to the Win32NativeMethods.

public ref class Win32HelperMethods abstract sealed
public static class Win32HelperMethods
type Win32HelperMethods = class
Public Class Win32HelperMethods
Inheritance
Win32HelperMethods

Methods

FindChildWindowViaEnumChildWindows(IntPtr, Int32, Int32, String, FindWindowMatchType, String, FindWindowMatchType, Int32, Boolean)

Retrieves the handle of the child matching window via EnumChildWindows.

FindTopWindowViaEnumWindows(Int32, Int32, String, FindWindowMatchType, String, FindWindowMatchType, Int32, Boolean)

Retrieves the handle of the top-level matching window via EnumWindows.

FindWindowByCaptionAndClassText(IntPtr, Int32, Int32, String, FindWindowMatchType, String, FindWindowMatchType, Int32, Boolean)

Retrieves the handle of the window that has matching caption/class text through a BFS (Breadth-First Search) of the window handle tree rooted at hWndParent.

FindWindowByControlId(IntPtr, Int32, Int32, Int32, Int32, Boolean)

Retrieves the handle of the window that has matching Control ID through a BFS (Breadth-First Search) of the window handle tree rooted at hWndParent.

FindWindowByPosition(IntPtr, Int32, Int32, Int32, Int32, Boolean)

Retrieves the handle of the window whose upper left corner coordinates matches the position given through a BFS (Breadth-First Search) of the window handle tree rooted at hWndParent.

Applies to