Updated on 2023-03-23 GMT+08:00

Destroying a Meeting Information Box

Notification Description

A notification is sent in the scenarios such as clicking the in-meeting sharing button, clicking the in-meeting leave button, leaving a meeting, ending a meeting, clicking the title bar, and sharing the meeting control mode.

Method Definition

1
virtual void OnDestroyExternalConfInfoWnd() {};

Precautions

Check whether the meeting information box object exists. If yes, the box is destroyed.

Parameter Description

None

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
/**
* Destroying the external meeting information box.
*/
LRESULT demoMainMenuDlg::OnDestroyExternalConfInfoWnd(WPARAM wParam, LPARAM lParam)
{
    demoConfInfoDlg* dlg = demoData::GetInstance().GetConfInfoDlgObj();
    if (dlg == NULL)
    {
        return 1;
    }
 
    dlg->CloseWindow();
    demoData::GetInstance().SetConfInfoDlgObj(NULL);
    delete dlg;
    dlg = NULL;
    return 0;
}