MCPcopy Create free account
hub / github.com/AgoraIO/API-Examples / OnEIDJoinLeaveChannel

Method OnEIDJoinLeaveChannel

windows/APIExample/APIExample/APIExampleDlg.cpp:839–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837}
838
839LRESULT CAPIExampleDlg::OnEIDJoinLeaveChannel(WPARAM wParam, LPARAM lParam)
840{
841 m_bJoinChannel = (BOOL)wParam;
842 m_lstAdvanced.EnableWindow(!m_bJoinChannel);
843 m_lstBasicScene.EnableWindow(!m_bJoinChannel);
844 if (m_bJoinChannel) {
845 m_stalstInfo.SetWindowText(L"you can leave channel first.");
846 }
847 else
848 m_stalstInfo.SetWindowText(_T(""));
849 return 0;
850}
851
852
853void CAPIExampleDlg::OnBnClickedButtonDocumentWebsite()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected