How to hide "Main meeting window" right after join and show only share screen ?


#1
  1. How to hide “Main meeting window” right after join and show only share screen ?

using zoom sdk zoom-c-shaer-wrapper

note: like zoom dashboard share feature 

Thank You.


#2

Hi Jigi,

currently there is no API for this, you can implement the behavior by using Microsoft’s FindWindow API.

Find the window by windows class name, ShowWindow(hwnd, SW_HIDE). 

Another approach is to use direct share:

for API user:StartParam4APIUser–>isDirectShareDesktop= true

for normal user: StartParam4NormalUser–>isDirectShareDesktop= true

Best


#3

Hello,

Can you please provide me main meeting window class name i won’t able to find class name and also won’t able to find open window in c# 

Thank You.


#4

hi,

try this api “ZOOM_SDK_DOTNET_WRAP.IMeetingUIControllerDotNetWrap.GetMeetingUIWnd” to get the handle of main window.  and please call this api after got the in-meeting status.

 


#5

Hello ,

Can you please provide me some sample code because i don’t understand how to write. 

i wrote something like this 

ZOOM_SDK_DOTNET_WRAP.HWNDDotNet FirstWindow = new ZOOM_SDK_DOTNET_WRAP.HWNDDotNet();
FirstWindow.value = 1;
ValueType ValType = FirstWindow;

ZOOM_SDK_DOTNET_WRAP.SDKError err1 = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetUIController().GetMeetingUIWnd(ref ValType, ref ValType);

bool x = ShowWindow(, 0);

now what to pass in ShowWindow argument ?