🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.nativeapi
1 messages
1 total messages Started by # Tue, 03 Feb 2004 20:22
How to accesss buttons and edit fields of a window (foreign application)?
#182
Author: #
Date: Tue, 03 Feb 2004 20:22
28 lines
1674 bytes
Hi,

the handle of an open window can be found by

WHandle := FindWindow(nil, 'WindowTitle');

But I could not find solutions to:

- How to find out the handles of  buttons and edit fields on that window?

- How to press and release a button on that window?

- how to replace the text of an edit field (e.g. in the "save as" dialog of
WORD")?


Knowing this it should be possible to "remote control" e.g. the "save as"
dialog of an

application.

Any hint or code example would be helpful (D5).


Thanks in advance,
Markus

Markus.Ehinger@web.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads