# WINDOWS SDK CAN'T SHOW SHARING TOOLBAR WHEN I USE JOIN API

**URL:** <https://devforum.zoom.us/t/windows-sdk-cant-show-sharing-toolbar-when-i-use-join-api/1877>\
**Category:** Windows\
**Created:** [October 30, 2018, 2:52pm UTC](https://devforum.zoom.us/t/windows-sdk-cant-show-sharing-toolbar-when-i-use-join-api/1877 "2018-10-30T14:52:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guan\_bj](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@guan\_bj](https://devforum.zoom.us/u/guan_bj)\
**Post date:** [October 30, 2018, 2:52pm UTC](https://devforum.zoom.us/t/windows-sdk-cant-show-sharing-toolbar-when-i-use-join-api/1877/1 "2018-10-30T14:52:12Z")

</div>

I use Join API because I am student role in the meeting. Then I share my desktop to teacher.&nbsp;

when I use Join API to go to meeting, the sharing toolbar is not visible at the top of view. but it’s visible in windows status bar.&nbsp;

If I change Start API to goto meeting, it works well.&nbsp;  
This issue is not exist when I use old version which released in 2017 year.&nbsp;

I use the same Join API in Mac OS, it’s working well.

I try add these function, but it’s still hidden status.&nbsp;  
void CMeetingServiceMgr::onSharingStatus(ZOOM\_SDK\_NAMESPACE::SharingStatus status, unsigned int userId)&nbsp;  
{&nbsp;  
printf(“enter onSharingStatus: %d, %d”, status, userId);&nbsp;  
//todo&nbsp;  
if (status == ZOOM\_SDK\_NAMESPACE::Sharing\_Self\_Send\_Begin)&nbsp;  
{&nbsp;  
//this-\>m\_pAnnotationCtrl-\>StartAnnotation(ZOOM\_SDK\_NAMESPACE::SDK\_FIRST\_VIEW, 10, 10);&nbsp;  
ZOOM\_SDK\_NAMESPACE::SDKError result;&nbsp;  
result = this-\>m\_pUICtrl-\>ShowSharingToolbar(true);&nbsp;  
printf(“ShowSharingToolbar result: %d”, result);&nbsp;  
result = this-\>m\_pUICtrl-\>ShowSharingFrameWindows(true);&nbsp;  
printf(“ShowSharingFrameWindows result: %d”, result);&nbsp;

//result = this-\>m\_pUICtrl-\>ShowBottomFloatToolbarWnd(true);&nbsp;  
//printf(“ShowBottomFloatToolbarWnd result: %d”, result);&nbsp;  
}&nbsp;  
}

I have try these versions, all of them has the same issue.

the view please look at my attachment files

Please tell me it’s a bug or my own usage issue?

![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/4e75bf494886777b35b1b444d18c20cbc0b40f02.png)

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/0a2d6b9ab90a4c243d90c9a445a357d1117ee75a.jpeg)

---

<div class="post-metadata">

**Author:** ![guan\_bj](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@guan\_bj](https://devforum.zoom.us/u/guan_bj)\
**Post date:** [October 30, 2018, 2:58pm UTC](https://devforum.zoom.us/t/windows-sdk-cant-show-sharing-toolbar-when-i-use-join-api/1877/2 "2018-10-30T14:58:57Z")

</div>

[https://sy-file-res.oss-cn-beijing.aliyuncs.com/join.jpg](https://sy-file-res.oss-cn-beijing.aliyuncs.com/join.jpg)&nbsp; is the screen shot after I join meeting

---

<div class="post-metadata">

**Author:** ![Wilmer\_Sun](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wilmer_sun/32/61_2.png) [@Wilmer\_Sun](https://devforum.zoom.us/u/Wilmer_Sun)\
**Post date:** [November 1, 2018, 5:40am UTC](https://devforum.zoom.us/t/windows-sdk-cant-show-sharing-toolbar-when-i-use-join-api/1877/3 "2018-11-01T05:40:56Z")

</div>

onSharingStatus() callback function is not the right place to call&nbsp;ShowSharingToolbar(true).

If you want to show it correctly, please call it before you start to share your app/destop. Something like the following code.

ZOOM\_SDK\_NAMESPACE::IMeetingShareController\* pCtrl = m\_pMeetingService-\>GetMeetingShareController();  
if (pCtrl == NULL)  
&nbsp; &nbsp; return false;

if (m\_pMeetingService-\>GetMeetingConfiguration())  
{  
&nbsp; &nbsp; m\_pMeetingService-\>GetMeetingConfiguration()-\>SetSharingToolbarVisibility(true);

&nbsp; &nbsp;//some other callings goes here  
}

if (pCtrl-\>StartWhiteBoardShare() != ZOOM\_SDK\_NAMESPACE::SDKERR\_SUCCESS)  
&nbsp; &nbsp;return false;

&nbsp;

Hope&nbsp; this is useful for you! Enjoy ZOOM SDK!

---

<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:57pm UTC](https://devforum.zoom.us/t/windows-sdk-cant-show-sharing-toolbar-when-i-use-join-api/1877/4 "2020-08-21T17:57:54Z")

</div>

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


