Share via


JavaKnownControls.RegisterControl Method

Definition

Overloads

RegisterControl(String, IntPtr)

Associates the window handle with the control.

RegisterControl(String, IntPtr, Int32)

Associates the accessible object with the control.

RegisterControl(String, IntPtr)

Associates the window handle with the control.

public:
 void RegisterControl(System::String ^ controlName, IntPtr hWnd);
public void RegisterControl (string controlName, IntPtr hWnd);
member this.RegisterControl : string * nativeint -> unit
Public Sub RegisterControl (controlName As String, hWnd As IntPtr)

Parameters

controlName
String

Specifies the control name.

hWnd
IntPtr

nativeint

Applies to

RegisterControl(String, IntPtr, Int32)

Associates the accessible object with the control.

public:
 void RegisterControl(System::String ^ controlName, IntPtr accObj, int vmId);
public void RegisterControl (string controlName, IntPtr accObj, int vmId);
member this.RegisterControl : string * nativeint * int -> unit
Public Sub RegisterControl (controlName As String, accObj As IntPtr, vmId As Integer)

Parameters

controlName
String

Specifies the control name.

accObj
IntPtr

nativeint

Specifies the accessibility object.

vmId
Int32

Applies to