Hi, Mark Barba!
On 13 Apr 97 23:58:55 you wrote to Jerry Coffin
MB> straight to is to learn or know how to write a program (Windows based)
MB> that will 'control' another program within windows... as an example,
MB> I'd like to run my program in Windows, which will cause another
MB> Windows program to load--and when it does, it will 'push its buttons'
MB> and control it as a user would... if you can't explain it easily,
MB> then I would be grateful if you could at least direct me to a good
MB> book that can explain it (If possible)... any help appreciated...
MB> thanks in advance...
Grab a tool like WinSight, WinSpector (Borland), or Spy (MS) os any similar,
that trace messages. And look the message traffic. Anytime you activate a
menu and most controls, a message is sent to the application. You can learb
which is the window that process them, and what are the ID's related to
different menu lines. Afterwards you can locate that window using
FindWindow() function and send it messages with PostMessage() or
SendMessage().
Paul
... If assholes could fly, this place would be an airport
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)
|