แก้ไข

แชร์ผ่าน


Control.RecreateHandle Method

Definition

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

The RecreateHandle method is called whenever parameters are needed for a new control, but using a call from UpdateStyles to CreateParams is insufficient. This method also calls DestroyHandle and CreateHandle and sets RecreatingHandle to true.

Applies to

See also