Hi, i´m using the C# wrapper
I am looking the way for open te participant list and chat in a separate window. I run the same app in diferent computers obtaining different results. Pop up window in desktop PC and inside Zoom panel in a notebook. How to manage this?
I tryed redirecting event with:
ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetUIController().Add_CB_onParticipantListBtnClicked(onParticipantListBtnClicked);
but this block completely inabilite the list to open.
Thanks in advance, sorry for the english
Thanks for the post and pardon the late response. You may use the ShowParticipantListWnd and ShowChatDlg to get the handle of the participant window and the chat window, then you could use this handle to achieve what you are trying to do.
So I’m trying to get the chatDialog window handle but It’s been proving a bit difficult. I have been doing it in the following manner after the meeting window has opened successfully
I’m doing it in the following manner
Sorry for the delay in response here. I spiraled down the rabbit hole on this one and found something interesting. If you open up the file meeting_ui_ctrl_warp.h in the wrapper project itself, there is a line of code: DEFINE_FUNC_1(ShowChatDlg, SDKError, ShowChatDlgParam&, param)
This line is supposed to convert the ShowChatDlg function in the c++ sdk, to a C# function.
However, if you ctrl+click on ShowChatDlg it does not take you to the ShowChatDlg function, but instead takes you to ShowChatDlgParam.
This means the wrapper is confusing the C++ ShowChatDlgParam struct with the C++ ShowChatDlg function.
Similarly, I noticed that this same issue happens with ShowSettingDlg and ShowSettingDlgParam. So my suspicion is that the wrapper gets confused when it is trying to wrap a function that has a name similar to the function. I am not yet sure why this is happening, but I have an idea for a possible workaround for this issue.
Can you try something:
In the wrapper project itself, change the name ShowChatDlgParam to “ChatDialogueWindowParam” (or any name that is not similar to ShowChatDlg)
Update all references to ShowChatDlgParam (if you build, Visual Studio will create errors for all the spots that need to be updated)
Then rebuild the wrapper
Update your app with the modified version of the wrapper and try running again.
I am curious if the reason you are facing issues here is because the wrapper is confusing names.