Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grab Text from Control during Runtime

Status
Not open for further replies.

topcat01

Programmer
Jul 10, 2003
83
0
0
GB
Hi All,

I recently came across a tool called CopyText which copies text from a control such as a listbox, comboboxes etc to the clipboard.

CopyText:
The only problem is that it only seems to work on standard controls and not custom controls.

I want to write a small prog to grab text from string grid controls (standard and custom controls), is this possible?

Screen capture software seems to fail, particularly when for example a stringgrid stretches beyond the length & width of the screen (vertical *and* horizontal scroll capture is required and no program seems to handle that well).

Are there any other methods out there that will help???
 
if you are familiar with api routines you can use them to get to your point...

all you need is to get handle of the object on a window and get message from that handle...

if you want some tutorials I can provide...

OSP
 
OSProgrammer,

I would be greatful if you could send me some tutorials/examples.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top