The information in this article applies to:
SUMMARYThe 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:
MORE INFORMATIONThe program first loads the FOXTOOLS.FLL library that is supplied with FoxPro for Windows and creates a variable. Next, it retrieves the handle to the window that has the focus, that is, the currently active window. It then calls the GetWindowText() function, passing the second parameter by reference by using the @ sign. This is the variable that will hold the title of the window. It then displays the window title.
REFERENCES
Microsoft Windows Software Development Kit, "Programmer's Reference,
Volume 2: Functions," pages 376 and 484
Additional query words: VFoxWin FoxWin 2.50 FOXTOOLS.FLL SDK kbvfp300 kbvfp600
Keywords : kbcode FxprgFoxtools |
Last Reviewed: August 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |