Vcl.Controls.TWinControl.PreProcessMessage

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=Vcl.Controls.TWinControl.PreProcessMessage&oldid=168963"