Solved

retrieve foregrounds window caption text

Posted on 2000-03-06
2
204 Views
Last Modified: 2010-04-04
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
Comment
Question by:esk
2 Comments
 
LVL 7

Accepted Solution

by:
ahalya earned 50 total points
ID: 2588618
in your ontimer event

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

begin;
GetWindowText(GetForeGroundWindow, @c, 255);
Memo1.Lines.Add(string(c)):
end;
0
 
LVL 6

Expert Comment

by:edey
ID: 2588668
hmmm...
that does look familiar :)


GL
Mike
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question