Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.75 KB

RealGetWindowClass.md

File metadata and controls

63 lines (45 loc) · 1.75 KB

Home

Function name : RealGetWindowClass

Group: Window - Library: user32


Retrieves a string that specifies the window type


Code examples:

Obtaining window class name for the main VFP window
Creating a window using CreateWindowEx function
Scanning the hierarchy of child windows down from the main VFP window
Splash Screen for the VFP application
Placing On-screen Alert on top of all windows
How to make a VFP form fading out when released (GDI+ version)
How to make a VFP form fading out when released (GDI version)

Declaration:

UINT RealGetWindowClass(
  HWND  hwnd,      // handle to window
  LPTSTR pszType,  // window type buffer
  UINT  cchType    // size of window type buffer
);  

FoxPro declaration:

DECLARE INTEGER RealGetWindowClass IN user32;
	INTEGER  hwnd,;
	STRING @ pszType,;
	INTEGER  cchType  

Parameters:

hwnd [in] Handle to the window whose type will be retrieved.

pszType [out] Pointer to a string that receives the window type.

cchType [in] Specifies the length, in TCHARs, of the buffer pointed to by the pszType parameter


Return value:

If the function succeeds, the return value is the number of TCHARs copied to the specified buffer


Comments:

Looking for possible applications for this function, so far I used it in combination with the CreateWindow function