parent window
-
damit ist desktop parent von diesem fenster, richtig?
SetParent(hwnd, NULL);
ist das etwa dasselbe?
SetParent(hwnd, GetDesktopWindow());
wenn sie gleich sind, sind die fenster handle von desktopwindow aber nicht NULL
-
Syntaktisch sind die beiden nicht gleich, bewirken jedoch das Gleiche. MSDN sagt dazu:
SetParent Function
hWndNewParent [in, optional]
... If this parameter is NULL, the desktop window becomes the new parent window.