However, I can not find the documentation of what causes the creation of the window handle.
This is probably because .net is an abstraction.
"" Win32 HWND . , .. HWND.
, . ( C Windows API) , , . , , , . (), , GDI.
, , , HWND, .
, , C/Win32 CreateWindow(). .
, .net APP. , , CreateWindow, HWND .
Windows, .
, ? Window. Windows - . - , , .
, . , , .
user257111