Hi
I am still stuck
.. a desired action does not take place until form1 is clicked.
I want this to take place automatically . . so
from the help file..
   The mouse_event function synthesizes mouse motion and button clicks.
In the AppOnActivate I wrote
  mouse_event(
    MOUSEEVENTF_LEFTDOWN,       // flags specifying various motion/click variants
    0,  // horizontal mouse position or position change
    0,  // vertical mouse position or position change
    0,  // unused, reserved for future use, set to zero
    0   // 32 bits of application-defined information
   );
It works. (well messagebeep(0) in form1.click event says it does)
But the desired action does not take place as it does when I physically
click the form.

Any ideas?

______________________________________________
Graham Mayes

http://www.answersoft.co.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to