Vcl.Controls.TWinControl.PreProcessMessage
Delphi
function PreProcessMessage(var Msg: TMsg): Boolean; dynamic;
C++
DYNAMIC bool __fastcall PreProcessMessage(tagMSG &Msg);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Returns False, no matter the value of Msg.
As a member of the TWinControl class, PreProcessMessage always returns False, no matter the value of Msg.
Note: When overriding PreProcessMessage in descendant classes, we recommend to implement it such that it returns True if Msg is a preprocess message, and False otherwise.