How can I get the content of a Grid which is part of another program? RRS feed

  • Question

  • Dear All,
    I am facing a problem is, I would like to get the content of a grid, for example, I would like to send the content to Notepad, or memory.

    But the grid is not a part of my program, which is a part of third part software. And this software was made by Delphi.

    How can I archive it?


    Jeffers Yuan


    Friday, March 13, 2009 5:53 AM


  • You usually have a few options with simple controls, like an EditBox, using SendMessage, VirtualAllocEx and ReadProcessMemory.  Those few options shrink to null when dealing with complex controls like a grid.  Those kind of controls paint the visible interface from internal state.  State whose internal structure is not documented nor locatable.
    Hans Passant.
    • Marked as answer by Zhi-Xin Ye Wednesday, March 18, 2009 5:42 AM
    Friday, March 13, 2009 12:09 PM