My quesiton is that is it legal to send a window handle in EXE to DLL as a parent.

If it is, how to delete the window in DLL of which parent handle was created in main APP EXE, not DLL.

Regards.