GetWindowText - Windows API

From: Sarah (anonymous_at_discussions.microsoft.com)
Date: 04/17/04


Date: Sat, 17 Apr 2004 01:56:02 -0700

Hi All,

I want to use the GetWindowText, Windows API in vfp. The following code is giving error
        
DECLARE INTEGER GetWindowText IN win32api;
                          HWND iwinhdl,;
                         STRING cwindow_title
GetWindowText(mActiveWndHdl,mGetWinTxt)

The following is the error message
Too many arguments.
Line of code with error: GetWindowText(mActiveWndHdl,mGetWinTxt)
Message1: ISWINDEX

Can't make out why the error is flaged!