RAD Studio VCL Reference
TWinControl.RecreateWnd Method

Recreate underlying Windows screen object.

procedure RecreateWnd;
__fastcall RecreateWnd();

Call RecreateWnd to recreate the control from scratch. RecreateWnd destroys the underlying Windows screen object. The next time the Handle property is referenced (when the object is repainted, for example), a new Windows screen object is created. Some changes in control properties are not implemented until this re-creation occurs. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!