Solved

retrieve foregrounds window caption text

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now