TCustomGrid.WndProc procedure
Extends the message processing loop for the grid control.
Declaration
procedure WndProc(var TheMessage: TLMessage); overrideArguments
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.
WndProc ensures that a TGridScroller instance allocated for the class is freed after a scroll message has been handled and the grid state has been updated.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
