• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

retrieve foregrounds window caption text

Hi! expert...

i like to use a timer to get the foregrounds window into editbox, when timer is on schedule i want to retrieve foregrounds window into editbox

Esk
0
esk
Asked:
esk
1 Solution
 
ahalyaCommented:
in your ontimer event

var c : array[0..255] of char;

begin;
GetWindowText(GetForeGroundWindow, @c, 255);
Memo1.Lines.Add(string(c)):
end;
0
 
edeyCommented:
hmmm...
that does look familiar :)


GL
Mike
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now