Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
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.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Syntax
public static IntPtr FindWindowByControlId(
IntPtr hWndParent,
int processId,
int threadId,
int controlId,
int matchCount,
bool ignoreProcThread
)
Public Shared Function FindWindowByControlId (
hWndParent As IntPtr,
processId As Integer,
threadId As Integer,
controlId As Integer,
matchCount As Integer,
ignoreProcThread As Boolean
) As IntPtr
Parameters
hWndParent
Type: System.IntPtrSpecifies the parent window.
processId
Type: System.Int32Specifies the process ID.
threadId
Type: System.Int32Specifies the thread ID.
controlId
Type: System.Int32Specifies the control ID.
matchCount
Type: System.Int32Specifies the match count.
ignoreProcThread
Type: System.BooleanTrue to ignore processor thread, otherwise false.
Return Value
Type: System.IntPtr
Type: IntPtr
See Also
Win32HelperMethods Class
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright