Recent

Author Topic: MouseAndKeyInput unit question  (Read 3006 times)

simone

  • Hero Member
  • *****
  • Posts: 573
MouseAndKeyInput unit question
« on: October 27, 2018, 03:27:39 pm »
Using MouseAndKeyInput unit, is it possibile to simulate a mouse click in a point of the screen placed outside the form of Lazarus application that has to handle the event? Thanks.
Microsoft Windows 10 64 bit - Lazarus 3.0 FPC 3.2.2 x86_64-win64-win32/win64

HeavyUser

  • Sr. Member
  • ****
  • Posts: 397
Re: MouseAndKeyInput unit question
« Reply #1 on: November 04, 2018, 12:00:00 pm »
Using MouseAndKeyInput unit, is it possibile to simulate a mouse click in a point of the screen placed outside the form of Lazarus application that has to handle the event? Thanks.
yes as long as you understand that you send the events to windows not the screen you can send them anywhere you like.

 

TinyPortal © 2005-2018