Vcl.Controls.TWinControl.RecreateWnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RecreateWnd;

C++

void __fastcall RecreateWnd();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Recreate underlying Windows screen object.

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.

See Also