[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.WndProc

Extends the message processing loop for the grid control.

Declaration

Source position: grids.pas line 1196

protected procedure TCustomGrid.WndProc(

  var TheMessage: TLMessage

); override;

Arguments

TheMessage

  

Message examined in the method.

Description

WndProc is an overridden method in TCustomGrid. It extends the ancestor method to provide design-time support for the grid control. LM_HSCROLL and LM_VSCROLL messages are not processed at design-time.

For the Windows platform, message processing is halted when a LM_SIZE message is being processed. Windows sends WM_SIZE when showing or hiding scroll bars, and can occur during the DoOnChangeBounds method.

WndProc calls the inherited method to handle focus, mouse, key, and state change messages.

See also

TWinControl.WndProc

  

Adds special handling for focus and input messages, and notifies the DockManager.