JavaKnownControls.RegisterControl Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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