RAD Studio VCL Reference
|
Initializes the window creation parameters so that the entire window is not redrawn when the width or height of the client area changes.
procedure CreateParams(var Params: TCreateParams); override;
virtual __fastcall CreateParams(TCreateParams Params);
The CreateWnd method calls CreateParams to initialize the parameters it passes to CreateWindowHandle. CreateParams calls the inherited method and uses that Window class style, removing the CS_HREDRAW and CS_VREDRAW styles from it.
By removing these styles the scrolling windowed control will only redraw the invalidated regions, not the entire window.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|