Control.RecreateHandle Method

Definition

Obliga a que se vuelva a crear el identificador del control.Forces the re-creation of the handle for the control.

protected:
 void RecreateHandle();
protected void RecreateHandle ();
member this.RecreateHandle : unit -> unit
Protected Sub RecreateHandle ()

Remarks

Se llama al método RecreateHandle siempre que se necesitan parámetros para un nuevo control, pero el uso de una llamada de UpdateStyles a CreateParams es insuficiente.The RecreateHandle method is called whenever parameters are needed for a new control, but using a call from UpdateStyles to CreateParams is insufficient. Este método también llama a DestroyHandle y CreateHandle y establece RecreatingHandle en true.This method also calls DestroyHandle and CreateHandle and sets RecreatingHandle to true.

Applies to

See also