RegisterClassEx

From ReliCodia

(Difference between revisions)
Revision as of 23:00, 8 March 2005
Bartosz (Talk | contribs)

← Previous diff
Revision as of 21:49, 16 March 2005
216.231.56.29 (Talk | contribs)

Next diff →
Line 1: Line 1:
ATOM RegisterClassEx (WNDCLASSEX const * winClass); ATOM RegisterClassEx (WNDCLASSEX const * winClass);
- ATOM RegisterClass (WNDCLASS const * winClass);+ ATOM RegisterClass (WNDCLASS const * winClass); (obsolete)
-Registers [[Windows:Classes|window class]], described by the structure [[WNDCLASS]][EX], with the Windows system. The two versions of the API take different versions of the structure WNDCLASS[EX].+Registers [[Windows:Classes|window class]], described by the structure [[WNDCLASS]], with the Windows system.
Once the class is registered, it can be addressed using its name (a string) or the [[ATOM]] returned by this API. Once the class is registered, it can be addressed using its name (a string) or the [[ATOM]] returned by this API.
A window class is used in the creation of [[Windows:Windows|windows]] through the[[CreateWindow]] API. All windows of the same class share certain visual characteristics described in WNDCLASS, as well as behavior, described by [[Window Procedure]] (also part of WNDCLASS). A window class is used in the creation of [[Windows:Windows|windows]] through the[[CreateWindow]] API. All windows of the same class share certain visual characteristics described in WNDCLASS, as well as behavior, described by [[Window Procedure]] (also part of WNDCLASS).

Revision as of 21:49, 16 March 2005

ATOM RegisterClassEx (WNDCLASSEX const * winClass);
ATOM RegisterClass (WNDCLASS const * winClass); (obsolete)

Registers window class, described by the structure WNDCLASS, with the Windows system. Once the class is registered, it can be addressed using its name (a string) or the ATOM returned by this API.

A window class is used in the creation of windows through theCreateWindow API. All windows of the same class share certain visual characteristics described in WNDCLASS, as well as behavior, described by Window Procedure (also part of WNDCLASS).