Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2006-06-09
9
Medium Priority
?
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

688 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