Solved

retrieve foregrounds window caption text

Posted on 2000-03-06
2
202 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

785 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