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

<*> 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