I want create using C# window with setted parent to my defined handle,
this is a other process window handle.
Anyone know how to do this?
Greetings,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If I understood your question correctly you should be able to achieve what you want by using something like this:
This will turn
MainForma child window of the specified window making it always appear above it. I useShowDialogin the example, but this should also work forShow. This is specific for Windows Forms.In WPF you can try the following:
I quickly tried this after showing the WPF window and it seemed to work as expected, but WPF knowledge is not that great.