Is it possible in a C++ dll to create a window, then give control of that window to the application which uses the dll? Something like:
HWND* hwnd = new HWND;
// Set it up for them - where would the window procedure sit etc? Like where do mouse click
// handlers go? In my dll?
return hwnd; // now they can control it, and are responsible for deleting it when done.
To make things more complex, the group that wants to use this window is using C#, but they are certain that this is possible. Any ideas if it is?