# Disable right-click for annotation toolbar

**URL:** <https://devforum.zoom.us/t/disable-right-click-for-annotation-toolbar/1075>\
**Category:** Windows\
**Created:** [March 14, 2018, 10:25pm UTC](https://devforum.zoom.us/t/disable-right-click-for-annotation-toolbar/1075 "2018-03-14T22:25:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bert\_Leatherman](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Bert\_Leatherman](https://devforum.zoom.us/u/Bert_Leatherman)\
**Post date:** [March 14, 2018, 10:25pm UTC](https://devforum.zoom.us/t/disable-right-click-for-annotation-toolbar/1075/1 "2018-03-14T22:25:52Z")

</div>

Hi, when I am using the Zoom annotation toolbar in my Windows app, I often inadvertently activate “Mouse” (the arrow icon) when I am drawing. I think that is because touching the right side of my trackpad activates “Mouse” in the annotation toolbar. Is there a way I can code my app not to activate “Mouse” from a right-click? This issue also sometimes occurs when I use a stylus on a touchscreen to annotate. That’s because in Windows a hard press on a touchscreen is the same as a right-click on a trackpad, and I sometimes press too hard when I&nbsp;write. With the Windows SDK, can I prevent either a right click on a trackpad or a hard press on a touchscreen from activating “Mouse” in the screen-sharing annotation toolbar? Thanks.

---

<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:** [March 15, 2018, 1:45am UTC](https://devforum.zoom.us/t/disable-right-click-for-annotation-toolbar/1075/2 "2018-03-15T01:45:48Z")

</div>

hi,&nbsp;

sorry, we don’t support this.

regards

Dats

---

<div class="post-metadata">

**Author:** ![Bert\_Leatherman](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Bert\_Leatherman](https://devforum.zoom.us/u/Bert_Leatherman)\
**Post date:** [March 18, 2018, 7:06pm UTC](https://devforum.zoom.us/t/disable-right-click-for-annotation-toolbar/1075/3 "2018-03-18T19:06:02Z")

</div>

Hi Dats, thanks for the reply. In that case, can you instruct us on how to completely disable right-click in our app?

---

<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:** [March 19, 2018, 9:53am UTC](https://devforum.zoom.us/t/disable-right-click-for-annotation-toolbar/1075/4 "2018-03-19T09:53:22Z")

</div>

hi,

maybe you can do some research about windows message hook or some windows message filter. you can filter the right-click message by yourself.

Regards

Dats

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:39pm UTC](https://devforum.zoom.us/t/disable-right-click-for-annotation-toolbar/1075/5 "2020-08-21T17:39:13Z")

</div>

Closed on August 21, 2020, 5:39pm UTC


