So I want to get the window handle of the ZOOM Window after I start/join the meeting. I can open ZOOM via the process command. I'm stuck currently on getting the handle for it.
When I try to do p.MainWindowHandle
, I get an exception that the process is already closed.
Process p = Process.Start("zoommtg://zoom.us/join?action=join&confno=....................");
p.WaitForInputIdle();
//p.WaitForInputIdle();
//GetTopWindow((IntPtr)null);
SetParent(p.MainWindowHandle, CBox.Handle);
//SendMessage(p.MainWindowHandle, WM_SYSCOMMAND, SC_MAXIMIZE, 0);
Other Ideas:
- I found the function
GetTopWindow()
but I'm not knowing how to parse null to get a system-wide search.
Thank You for the help
Question Again
- How do you get the window handle of an app that was started by an APP URI
- How do you use 'GetTopWindow()' in C# to get the top most window in the system