Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.17 KB

File metadata and controls

49 lines (32 loc) · 1.17 KB

Home

Function name : RegisterClassEx

Group: Window Class - Library: user32


Registers a window class for subsequent use in calls to the CreateWindow or CreateWindowEx function.


Code examples:

Displaying dimmed window behind VFP top-level form

Declaration:

ATOM WINAPI RegisterClassEx(
  __in  const WNDCLASSEX *lpwcx
);  

FoxPro declaration:

DECLARE INTEGER RegisterClassEx IN user32;
	INTEGER lpwcx  

Parameters:

lpwcx [in] Type: const WNDCLASSEX*

A pointer to a WNDCLASSEX structure. You must fill the structure with the appropriate class attributes before passing it to the function.


Return value:

If the function succeeds, the return value is a class atom that uniquely identifies the class being registered. If the function fails, the return value is zero.


Comments:

See also: UnregisterClass, GlobalGetAtomName.