Solved

retrieve foregrounds window caption text

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 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