I didn't understand why the form being small is a problem?

Vahan Yoghoudjian (Parev!) ;)

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] Behalf
Of mardirossian patrick
Sent: Friday, May 06, 2005 9:15 AM
To: [email protected]
Subject: [delphi-en] Timer and mouse-event


Hi ,

I am  using a Timer and mouse-event  in a program ,
i made my form allways on top , in fact im trying to play
a game with this program , now the question is how
to close my program ?

I tried to test the right click to stop the program , the problem
is that my form is a small one  and the timer interval is set to 1000.


Here is a part of my code :

procedure TForm1.Timer1Timer(Sender: TObject);
begin
  SetCursorpos(20,20)
  mouse_event( MOUSEEVENTF_LEFTDOWN....
  SetCursorpos(40,20)
  mouse_event( MOUSEEVENTF_LEFTDOWN....
....
....
end;


[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]



----------------------------------------------------------------------------
----
Yahoo! Groups Links

  a.. To visit your group on the web, go to:
  http://groups.yahoo.com/group/delphi-en/

  b.. To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

  c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to