# Maintain gallery view when Spotlight Mode

**URL:** <https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268>\
**Category:** Meeting SDK\
**Created:** [January 27, 2022, 6:35am UTC](https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268 "2022-01-27T06:35:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![khairul.azmie](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/khairul.azmie/32/34433_2.png) [@khairul.azmie](https://devforum.zoom.us/u/khairul.azmie)\
**Post date:** [January 27, 2022, 6:35am UTC](https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268/1 "2022-01-27T06:35:36Z")

</div>

**Description**  
Can i maintain gallery view when in sporlight mode. I try to call SwitchFloatVideoToGalleryMod() but nothing happen. I need to click manually from zoom ui to set to gallery view

**Which Desktop Meeting SDK version?**  
5.9.1.2625

**Device (please complete the following information):**

- Device: Lenovo Laptop
- OS: Windows 10

Thanks

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 27, 2022, 11:54pm UTC](https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268/2 "2022-01-27T23:54:12Z")

</div>

Hi @khairul.azmie,

Can you please clarify what you mean by “maintain gallery view”? Is there something in particular you are trying to do within the gallery view UI?

Thanks!

---

<div class="post-metadata">

**Author:** ![khairul.azmie](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/khairul.azmie/32/34433_2.png) [@khairul.azmie](https://devforum.zoom.us/u/khairul.azmie)\
**Post date:** [January 28, 2022, 3:46am UTC](https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268/3 "2022-01-28T03:46:37Z")

</div>

During meeting start the view in gallery mode. But when pun host to spotlight view change to speaker mode. I want it to maintain gallery view

Thanks

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 28, 2022, 11:03pm UTC](https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268/4 "2022-01-28T23:03:53Z")

</div>

Hi @khairul.azmie,

If I’m understanding correctly, it sounds like you want to programmatically switch to gallery view, right? The method you mentioned in your post would only work in some scenarios, like when you are viewing shared content in a full screen. For switching to gallery view while the regular meeting UI is present, you should use [`switchToVideoWallView`](https://marketplacefront.zoom.us/sdk/meeting/macos/interface_zoom_s_d_k_meeting_u_i_controller.html#aae44329dd3dc0bad2609a974cddddd48) instead.

Thanks!

---

<div class="post-metadata">

**Author:** ![khairul.azmie](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/khairul.azmie/32/34433_2.png) [@khairul.azmie](https://devforum.zoom.us/u/khairul.azmie)\
**Post date:** [January 29, 2022, 11:08am UTC](https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268/5 "2022-01-29T11:08:25Z")

</div>

Thanks for your solution. It working now.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 31, 2022, 9:37pm UTC](https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268/6 "2022-01-31T21:37:22Z")

</div>

You are very welcome, always happy to help!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 31, 2022, 9:37pm UTC](https://devforum.zoom.us/t/maintain-gallery-view-when-spotlight-mode/63268/7 "2022-01-31T21:37:25Z")

</div>

Closed on January 31, 2022, 9:37pm UTC


