Re: Mouse_Event to send click to the Windows screen ?



On 31 Jan, 07:42, mezzanine1974 <savas_karadu...@xxxxxxxxx> wrote:
I have found following code from Torry`s Delphi Page. Here, what does
X and Y refers to? Top-Left corner of Current Windows Screen or Top-
Left corner of Form1 or Image1?
My goal is to send mouse click to the Windows screen. (eg:
X:=10,Y:=1010 to click START icon in the windows. I assumed that
screen resolution is 1280�1024)

Look up SetCursorPos in Win32.hlp (supplied with Delphi), ...

Look up TControl.ClientToScreen & TControl.ScreenToClient in Delphi
help.

Alan Lloyd
.



Relevant Pages

  • Newbie Needs Help with Forms
    ... I am trying to learn Delphi ... If I have Form1 and Form2, ... memory but not be displayed, or I could use the Unload statement to ...
    (comp.lang.pascal.delphi.misc)
  • Re: Delphi 2005 Update 4 IS needed !!!
    ... I think he means linking from more than one form like you can do in Delphi, if you have data components on form1, you cannot access them visually at design time from form2, the same is true for Imagelists for use with button glyphs etc. ...
    (borland.public.delphi.non-technical)
  • Re: Newbie Needs Help with Forms
    ... seem to be so difficult in Delphi. ... If I have Form1 and Form2, ... that automatically declares form variables and creates form instances for ...
    (comp.lang.pascal.delphi.misc)
  • Re: Form1 not showing in delphi editor
    ... If I go into Delphi 7 and load my project and select view->Forms->Form1 the form doesn't get displayed and in the "Object Inspector" box, it just says "" and doesn't show any details or properties from form1 and you can select Form1 in the object inspector. ... If I exit Delphi and in windows explorer I double click on unit1.dfm, it loads delphi and has a tab that has unit1.dfm in it and in that it says: ...
    (alt.comp.lang.borland-delphi)
  • Re: DFM systax of delphi is not wrong
    ... can ignore or can form1 can any text and dont refer by delphi? ... It has used that syntax since Delphi 1 and it would make no sense to ... sacred as the laws of God and there is not a force of law and public ...
    (borland.public.delphi.non-technical)