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

**URL:** <https://devforum.zoom.us/t/how-to-hide-main-meeting-window-right-after-join-and-show-only-share-screen/966>\
**Category:** Windows\
**Created:** [February 9, 2018, 7:29am UTC](https://devforum.zoom.us/t/how-to-hide-main-meeting-window-right-after-join-and-show-only-share-screen/966 "2018-02-09T07:29:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jigi\_patel](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jigi\_patel](https://devforum.zoom.us/u/jigi_patel)\
**Post date:** [February 9, 2018, 7:29am UTC](https://devforum.zoom.us/t/how-to-hide-main-meeting-window-right-after-join-and-show-only-share-screen/966/1 "2018-02-09T07:29:03Z")

</div>

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&nbsp;

Thank You.

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [February 9, 2018, 5:31pm UTC](https://devforum.zoom.us/t/how-to-hide-main-meeting-window-right-after-join-and-show-only-share-screen/966/2 "2018-02-09T17:31:36Z")

</div>

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).&nbsp;

Another approach is to use direct share:

for API user:StartParam4APIUser–\>isDirectShareDesktop= true

for normal user:&nbsp;StartParam4NormalUser–\>isDirectShareDesktop= true

Best

---

<div class="post-metadata">

**Author:** ![jigi\_patel](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jigi\_patel](https://devforum.zoom.us/u/jigi_patel)\
**Post date:** [February 12, 2018, 12:20pm UTC](https://devforum.zoom.us/t/how-to-hide-main-meeting-window-right-after-join-and-show-only-share-screen/966/3 "2018-02-12T12:20:23Z")

</div>

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#&nbsp;

Thank You.

---

<div class="post-metadata">

**Author:** ![dats\_liao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dats_liao/32/464_2.png) [@dats\_liao](https://devforum.zoom.us/u/dats_liao)\
**Post date:** [February 13, 2018, 1:29am UTC](https://devforum.zoom.us/t/how-to-hide-main-meeting-window-right-after-join-and-show-only-share-screen/966/4 "2018-02-13T01:29:12Z")

</div>

hi,

try this api “ZOOM\_SDK\_DOTNET\_WRAP.IMeetingUIControllerDotNetWrap.GetMeetingUIWnd” to get the handle of main window.&nbsp; and please call this api after got the in-meeting status.

&nbsp;

---

<div class="post-metadata">

**Author:** ![jigi\_patel](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jigi\_patel](https://devforum.zoom.us/u/jigi_patel)\
**Post date:** [February 13, 2018, 7:04am UTC](https://devforum.zoom.us/t/how-to-hide-main-meeting-window-right-after-join-and-show-only-share-screen/966/5 "2018-02-13T07:04:10Z")

</div>

Hello ,

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

i wrote something like this&nbsp;

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&nbsp;ShowWindow argument ?
