Click to See Complete Forum and Search --> : Event Notification Problem.


javitobcn
February 25th, 2005, 10:48 AM
I'm programming a program computer for people who can't look very well
the screen, and logically I need to monitorize all windows events (not
only events of my thread, that is the goal of the function GetMessage
of the API WIndows Call). In some specific events i will add a voice
notification: for example, if you click in the File Menu, a voice will
say "File".

I demand you if you can tell me something to help me!

Thanks

XAVIER

Dave Sell
February 25th, 2005, 10:57 AM
I developed a system, using DCOM, whereby multiple remote client applications can all listen to Events generated by a server application.

It is an implementation of a Singleton with some Event Delegates. I used Visual Basic 6 to create all the Objects. Is this what you need to do? I uploaded some examples to VBForums.com:

http://www.vbforums.com/showthread.php?t=304832

http://www.vbforums.com/showthread.php?s=&threadid=310103

The example I uploaded is a very simple chat-type program. Everything you type on the server can be seen instantaneously on all the clients.

I demand you take a look at it. :D

Mick
February 25th, 2005, 11:01 AM
I demand you if you can tell me something to help me!
Thanks
XAVIER


And I demand that you post your question in a new thread :)

<split thread >

Sam Hobbs
February 25th, 2005, 11:11 AM
I'm programming a program computer for people who can't look very well
the screen, and logically I need to monitorize all windows events (not
only events of my thread, that is the goal of the function GetMessage
of the API WIndows Call).Windows has special stuff for people with difficulties such as vision difficulties. You should learn about that and how to use them, both as a programmer and a non-programmer.

javitobcn
February 25th, 2005, 11:12 AM
Hello Dave,

thanks for try to help me! First of all, my problem is the next one: i want to monitorize all the events of windows: it's not a model server-client. I think it's not the same. What do you think about?

With the API Windows Calls, i think, you only can receive the events of your thread, but not the other events. Do you understand me?

Thanks a lot!!!

XAVIER






I developed a system, using DCOM, whereby multiple remote client applications can all listen to Events generated by a server application.

It is an implementation of a Singleton with some Event Delegates. I used Visual Basic 6 to create all the Objects. Is this what you need to do? I uploaded some examples to VBForums.com:

http://www.vbforums.com/showthread.php?t=304832

http://www.vbforums.com/showthread.php?s=&threadid=310103

The example I uploaded is a very simple chat-type program. Everything you type on the server can be seen instantaneously on all the clients.

I demand you take a look at it. :D

MrViggy
February 25th, 2005, 11:34 AM
Hello Dave,

thanks for try to help me! First of all, my problem is the next one: i want to monitorize all the events of windows: it's not a model server-client. I think it's not the same. What do you think about?

With the API Windows Calls, i think, you only can receive the events of your thread, but not the other events. Do you understand me?

Thanks a lot!!!

XAVIER
Sounds to me like you want a system hook. However, I've never done this. There are a number of system wide hook discussions in these forums.

On the other hand, like Sam mentioned, are you trying to re-invent the wheel? Does Windows "Show Sounds" option (I'm running XP) not do what you need?

Viggy

PS. Never mind that question. I actually read it again, and your looking for the opposite of "Show Sounds". Duh!

javitobcn
February 25th, 2005, 11:38 AM
Hello MrViggy,

How are you?

First of all, thanys for the comment. What's a system hook?

I know WindowsXP's option, but i want to make an open source SW, for a spanish organization.

I''m going to continue looking for information.

THanks!!! XAVI


Sounds to me like you want a system hook. However, I've never done this. There are a number of system wide hook discussions in these forums.

On the other hand, like Sam mentioned, are you trying to re-invent the wheel? Does Windows "Show Sounds" option (I'm running XP) not do what you need?

Viggy

MrViggy
February 25th, 2005, 12:28 PM
Here are a couple of links off the MSDN that I found. Hopefully this will give you a start:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msaa/msaaccgd_3yy6.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msaa/msaaccrf_55m3.asp

Also do a search of these forums for "system wide hook". There have been a number of discussions about them. Sorry I really can't be more of a help; I've never coded a system wide hook.

Viggy

Sam Hobbs
February 25th, 2005, 12:50 PM
I know WindowsXP's option, but i want to make an open source SW, for a spanish organization.The accessibility features are part of Windows. There is also documentation available describing how programmers can use them, including a semi-standard UI for their use and for implementing custom accessibility features. You are likely to save a lot of time by spending time learning what is available.

An open-source solution is foolish if it does the same thing as the accessibility features provided by Windows.

Mick
February 25th, 2005, 03:26 PM
Please stay on topic. Off-topic comments in this thread will be removed.

Thank you :wave: