Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to "listen" for text changes in a particular part of a window.

Posted on 2006-06-09
9
Medium Priority
?
255 Views
Last Modified: 2010-04-16
Is it possible with c# to recognize if a text changes in a particular part of a window. eg. a rectangle in the upper right corner of the window.

I´m thinking about something like telling the application to notice changes in a rectangle (eg. 10x2 cm).
If changes are notice the application should copy the text to a variable.

Can you help me?
0
Comment
Question by:dontso
  • 3
  • 3
9 Comments
 
LVL 4

Expert Comment

by:CaldNT
ID: 16870324
Is the text you want to monitor part of any control(textbox, label)?

How is the text changed? By what?
0
 

Author Comment

by:dontso
ID: 16870410
The text is in a flash application, so I guess (I dont know) I cant access any controls.
The text is changing by itself when news is recieved from a server.
I would like to get a notice on my screen when the text is changing. (eg. a messagebox showing the text that changed), but that I can do myself.
I just have no idea how to 1. let my application know when the text changes. 2. copy the text.
By the way: the text is not like an animation. It can be highlighted with the mouse and copy/pasted (maybe that makes a difference?)
0
 
LVL 4

Expert Comment

by:CaldNT
ID: 16870462
Can you modify the Flash application?

If so you should probably put code in it to notify the checking application.
Ask in the Flash forum:
http://www.experts-exchange.com/Web/WebDevSoftware/Flash/
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:dontso
ID: 16870485
Unfortunately I cannot modify the flash application.
I guess the only choice is to make c# "listen" to change in the way the screen looks. Is that possible in any way?
0
 
LVL 4

Accepted Solution

by:
CaldNT earned 1000 total points
ID: 16870780
I have never done anything similar to this.

I found this link which let's you capture part of the screen:
http://www.codeproject.com/managedcpp/ijwscrcap.asp

You would need to let the part of the screen you want to "listen" to be visible and find a way to get the window position of the other application.

Hope that points you in the right direction.

Sorry I couldn't be of any more help.

Good luck!
0
 

Author Comment

by:dontso
ID: 16871206
Thanks for your help.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question