Re: How to monitor a window content

new topic     » goto parent     » topic index » view thread      » older message » newer message

If this content is text in edit window you could use C hook functions
(SetWindowsHookEx...), calling them from library. That way you can receive
messages for all windows and respond to them. (messages for edit windows
exist in Windows so you could use them to monitor when content of edit
window changes).

I have coded a program that does that in C language, but its pretty
unstable, don't know if everything is working right. It monitors key presses
and when escape key is pressed in any program that program quits. (so you
can quickly quit a program) . It was complicated in C...

I don't know If someone has already made euphoria library to hook messages
from windows  functions, but it would be very useful. It would have to be
more simple than in C.

With such a library you could monitor WM_ and other messages from
windows from other Win programs with euphoria program.

Or is there already another way of monitoring windows messages, in euphoria?

----- Original Message -----
From: Matteo <blue_dolphin at INWIND.IT>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, March 20, 1998 8:44 PM
Subject: How to monitor a window content


> Hello to everyone.
>
> I have a problem and I hope someone thru Euphoria can help me.
>
> I want to monitor the content of a window (in details, it's a window
> displaying the price of some stocks I have to keep an eye on).
>
> I just want a small utility that makes a sound whenever something inside
> this window (when it's in foreground, in the background or minimized)
changes.
>
> Is it possible to do using Euphoria?
>
> I'm looking forward to hear from you.
>
> Best regards,

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu