TApplication.NotifyUserInputHandler procedure
Notifies all user input handlers of the specified message.
Declaration
procedure NotifyUserInputHandler(Sender: TObject; var Msg: TLMessage)Arguments
Sender | |
Msg | Message structure with the code, parameters, and result for the message notification. |
Description
NotifyUserInputHandler is used to pass mouse or character events
between a widgetset class instance and the forms and controls in an
application. It is called from the message processing mechanism that is part
of the LCL interface.
It signals the OnUserInput event handler (when assigned) to allow handling of messages at the application level. It signals each of the handlers for the ahtUserInput type in the application using the Sender object instance and Msg as arguments.
Sender defaults to the application instance when unassigned.
NotifyUserInputHandler ensures that ActivateHint or CancelHint is called for a mouse message in the Msg argument.
Modified in LCL version 5.0 to use TLMessage in the Msg argument instead of the cardinal value for the notification message.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
