# Disabling left Button Double Click to Switch FullScreen Mode

**URL:** <https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108>\
**Category:** Windows\
**Created:** [May 26, 2021, 4:26pm UTC](https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108 "2021-05-26T16:26:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fpujol](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@fpujol](https://devforum.zoom.us/u/fpujol)\
**Post date:** [May 26, 2021, 4:26pm UTC](https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108/1 "2021-05-26T16:26:15Z")

</div>

Hello Everyone!!  
I am having trouble in disabling the double click function to enter or exit the Full Screen Mode:

CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingConfiguration().EnableLButtonDBClick4SwitchFullScreenMode(false);

This line of code seems to work fine while there is only one participant in the meeting. But as soon as one or more participants join, the double click becomes functional again and I can’t disable it.

I tried adding this line also every time a user joins the meeting in the CallBack Add\_CB\_onUserJoin(onUserJoin). But the double click keeps functional.

The issue this brings to my .NET application that embeds a Zoom window is that every time I double click it, the zoom window pops out of my app.

Can anyone assist me? Thanks!!

**Which Windows Client SDK version?**  
v5.5.12511.0422

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [May 26, 2021, 7:58pm UTC](https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108/2 "2021-05-26T19:58:08Z")

</div>

Hey @fpujol,

Thanks for using the dev forum!

Are you seeing the same behavior when using the C++ SDK?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![fpujol](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@fpujol](https://devforum.zoom.us/u/fpujol)\
**Post date:** [May 27, 2021, 2:27am UTC](https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108/3 "2021-05-27T02:27:11Z")

</div>

Thanks @Michael_Condon!!

I have to say I am not an expert in C++ and I’ve been using the C# wrapper. Since I’m not even an expert in C# I could only manage to make tests with this wrapper.

But I’m confused about not reading anyone in the forum facing this issue. I’m wondering if I’m missing anything.

I followed these comments to embed and position the zoom window in my C# app:

> [@Position and Resize the main window. Standard UI](https://devforum.zoom.us/t/position-and-resize-the-main-window-standard-ui/26948/2):
>
> I directly used the windows user32 library in order to position the main window in C# … [DllImport(“user32.dll”, SetLastError = true)] static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent); [DllImport("user32.dll", SetLastError = true)] internal static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint); [DllImport("user32.dll")] internal static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, …

But the double click keeps popping out the zoom window…

Many Thanks!!

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [May 28, 2021, 7:13pm UTC](https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108/4 "2021-05-28T19:13:29Z")

</div>

Hey @fpujol,

I understand. The reason we ask if this is reproducible in the C++ version is because the wrapper is not actively maintained by Zoom, so troubleshooting there can be very tricky. However, if an issue is reproducible in the C++ version we know that the SDK itself has a bug.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![fpujol](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@fpujol](https://devforum.zoom.us/u/fpujol)\
**Post date:** [May 29, 2021, 5:50pm UTC](https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108/5 "2021-05-29T17:50:48Z")

</div>

Thanks @Michael_Condon for your replies!!

I get your point and as soon as possible I will give it a try in the C++ version and tell you about it.

Cheers!

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [June 1, 2021, 8:11pm UTC](https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108/6 "2021-06-01T20:11:59Z")

</div>

Hey @fpujol,

Sounds good! Thanks! 🙂

Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 2, 2021, 6:12am UTC](https://devforum.zoom.us/t/disabling-left-button-double-click-to-switch-fullscreen-mode/51108/7 "2021-07-02T06:12:25Z")

</div>

Closed on July 2, 2021, 6:12am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
