Display Window Title with GetFocus() and GetWindowText() (96540)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft FoxPro for Windows 2.5
- Microsoft FoxPro for Windows 2.5a
This article was previously published under Q96540 SUMMARY
The sample code below displays the title of the window that has the focus.
It demonstrates how to use the FOXTOOLS.FLL library commands to call the
following Microsoft Windows application programming interface (API)
functions:
GetFocus()
GetWindowText()
REFERENCES
Microsoft Windows Software Development Kit, "Programmer's Reference,
Volume 2: Functions," pages 376 and 484
FOXTOOLS.WRI located in the C:\FOXPROW\GOODIES\FOXTOOLS subdirectory
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbcode KB96540 |
---|
|