"You must not call SetWindowLong with the GWL_HWNDPARENT index to change the
parent of a child window. Instead, use the SetParent function. Instead, use
the SetParent function."
Unfortunately, there is no further explanation. Can anyone provide more
details on this?
I'm calling SetWindowLong with the GWL_HWNDPARENT index in one of my
applications because the child window can be placed outside the parent form.
When using SetParent, the child form stays inside the parent form.
Thanks, Bob
-Tom
(remove gibberish for e-mail repl)