Share via


Win32HelperMethods Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Represents helper methods that provide convenient access to the Win32NativeMethods.

Namespace:   Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly:  Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.Win32HelperMethods

Syntax

public static class Win32HelperMethods
Public NotInheritable Class Win32HelperMethods

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static FindChildWindowViaEnumChildWindows(IntPtr, Int32, Int32, String, FindWindowMatchType, String, FindWindowMatchType, Int32, Boolean)

Retrieves the handle of the child matching window via EnumChildWindows.

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

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

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright