Control.RecreateHandle Metoda

Definicja

Wymusza ponowne utworzenie uchwytu dla kontrolki.

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

Uwagi

Metoda jest wywoływana RecreateHandle za każdym razem, gdy wymagane są parametry dla nowej kontrolki, ale użycie wywołania od UpdateStyles do CreateParams jest niewystarczające. Ta metoda wywołuje DestroyHandle również metodę i CreateHandle ustawia metodę RecreatingHandle na true.

Dotyczy

Zobacz też