Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check text area content of a child window
#11
Need to change rectangle coordinated in the SetRect line. And make sure that it is just several pixels bigger than your captured rectangle. If rectangle not used, scan searches in whole area and therefore always finds. Make so that the rectangle would be at the place where a minimum of text can be displayed, ie several pixels to the right from the icon.

Also try dialog "Window text". Select the control when the control has text, to see whether text capturing works in it.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)