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

TApplication.NotifyUserInputHandler

Notifies all user input handlers of the specified message.

Declaration

Source position: forms.pp line 1641

public procedure TApplication.NotifyUserInputHandler(

  Sender: TObject;

  Msg: Cardinal

);

Arguments

Msg

  

Message examined in the method for mouse or character events.

Description

Ensures that ActivateHint or CancelHint is called for a mouse message in the Msg argument.

Signals the OnUserInput event handler when assigned to allow filtering messages at the application level. Signals each of the user input handlers for the application using the Sender object instance and Msg as arguments. Sender defaults to the application instance when unassigned.

NotifyUserInputHandler is used to pass mouse and 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.

See also

TApplicationHandlerType

  

Types of Application notification handlers.


Version 3.2 Generated 2024-02-25 Home