In our application we have a dialog (CDialog) which is shown from the C++ MFC unmanaged world.
My Win-Forms modal dialog (C#) needs to set the unmanaged dialog as owner and thus as parent.
I don't know the handle or anything else about the C++ window.
My question is - how can I find the currently active window from the unmanaged MFC and set that as the owner of my modal dialog.
GerForegroundWindow delivers active window in the whole session, not within my application.
I would really appreciate any help from your side.