Riferimento a .NET Framework
Metodo Control.RecreateHandle
Determina la creazione di un nuovo handle per il controllo.
Spazio dei nomi: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Sintassi
Visual Basic - (Dichiarazione)
Protected Sub RecreateHandle
Visual Basic (Utilizzo)
Me.RecreateHandle
C#
protected void RecreateHandle ()
C++
protected: void RecreateHandle ()
J#
protected void RecreateHandle ()
JScript
protected function RecreateHandle ()
Note
Il metodo RecreateHandle viene chiamato quando i parametri sono necessari per un nuovo controllo, ma l'utilizzo di una chiamata dal metodo UpdateStyles alla proprietà CreateParams non è sufficiente. Questo metodo chiama anche i metodi DestroyHandle e CreateHandle e imposta la proprietà RecreatingHandle su true.
Piattaforme
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile per Pocket PC, Windows Mobile per Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework non supporta tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema.
Informazioni sulla versione
.NET Framework
Supportato in: 2.0 1.1 1.0Vedere anche