Group: Window Class - Library: user32
Retrieves the specified 32-bit (long) value from the WNDCLASSEX structure associated with the specified window.
Retrieving long values associated with the class of the VFP window
DWORD GetClassLong(
HWND hWnd, // handle to window
int nIndex // offset of value to retrieve
);
DECLARE INTEGER GetClassLong IN user32;
INTEGER hWnd,;
INTEGER nIdx
hWnd [in] Handle to the window and, indirectly, the class to which the window belongs.
nIndex [in] Specifies the 32-bit value to retrieve.
If the function succeeds, the return value is the requested 32-bit value. If the function fails, the return value is zero.
Within FoxPro this function is more handy comparing to the GetClassInfo and GetClassInfoEx for retrieving most of the window class propeties.
Also this function completely supersedes the GetWindowWord function, which is provided only for compatibility with 16-bit versions of Windows.