Hinweis:
Laut Microsoft soll der direkte Aufruf von
SetWindowLong(Handle, GWL_HWNDPARENT, 0);
vermieden werden. Stattdessen wird der Befehl Windows.SetParent empfohlen.

Zitat von
MSDN:
You must not call SetWindowLong with the GWL_HWNDPARENT index to change the parent of a child window. Instead, use the SetParent function.
[edit]
Irgendwie führt die empfohlene Function leider nicht zum gleichen Effekt...Ein Fehler von Microsoft?
[/edit]