# How to Stop Annotation without right click on Windows Surface Tablet

**URL:** <https://devforum.zoom.us/t/how-to-stop-annotation-without-right-click-on-windows-surface-tablet/47776>\
**Category:** Windows\
**Created:** [April 12, 2021, 1:16pm UTC](https://devforum.zoom.us/t/how-to-stop-annotation-without-right-click-on-windows-surface-tablet/47776 "2021-04-12T13:16:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankocorp.com](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ankocorp.com/32/10249_2.png) [@ankocorp.com](https://devforum.zoom.us/u/ankocorp.com)\
**Post date:** [April 12, 2021, 1:16pm UTC](https://devforum.zoom.us/t/how-to-stop-annotation-without-right-click-on-windows-surface-tablet/47776/1 "2021-04-12T13:16:33Z")

</div>

We are using a custom UI or annotation bar, however, users that are using Surface Tablet cannot stop desktop annotation using any “Right Click” techniques (press and hold). Our annotation bar is not active for users since it’s hidden by the invisible annotation window, we tried to push our annotation control to the top, but it gets hidden after any annotation.

Any suggestions on how to stop annotation or keep our custom window on top of annotations?

---

<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:** [April 13, 2021, 10:19pm UTC](https://devforum.zoom.us/t/how-to-stop-annotation-without-right-click-on-windows-surface-tablet/47776/2 "2021-04-13T22:19:03Z")

</div>

Hey @ankocorp.com,

Thanks for using the dev forum! It is nice to see you again.

Are you using a ICustomizedAnnotationController?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![ankocorp.com](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ankocorp.com/32/10249_2.png) [@ankocorp.com](https://devforum.zoom.us/u/ankocorp.com)\
**Post date:** [April 14, 2021, 2:55pm UTC](https://devforum.zoom.us/t/how-to-stop-annotation-without-right-click-on-windows-surface-tablet/47776/3 "2021-04-14T14:55:22Z")

</div>

Yes, ICustomizedAnnotationController

```auto
var cntrl = CZoomSDKeDotNetWrap.Instance
                    .GetMeetingServiceWrap()
                    .GetAnnotationController()
                    .GetCustomizedAnnotationController(null);

_annotationObject = cntrl.CreateAnnoObj(null);
```

---

<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:** [April 14, 2021, 10:33pm UTC](https://devforum.zoom.us/t/how-to-stop-annotation-without-right-click-on-windows-surface-tablet/47776/4 "2021-04-14T22:33:33Z")

</div>

Hey @ankocorp.com,

I see. In regards to the window not being kept on top, have you tried setting HWND\_TOPMOST for the annotation bar window handle?

You can call StopAnnotation on the IAnnotationController to stop annotating.

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:** [May 15, 2021, 8:34am UTC](https://devforum.zoom.us/t/how-to-stop-annotation-without-right-click-on-windows-surface-tablet/47776/5 "2021-05-15T08:34:17Z")

</div>

Closed on May 15, 2021, 8:34am UTC

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