0

I use Zoom Windows Meeting SDK v5.13.5.12103. OS: Windows 10

Is there any method to minimize the meeting programatically? Tried to use ShowWindow() with different nCmdShow but it doesn’t work.

By "minimize" I mean show the Zoom Mini Window (this is the thing that allows you to minimize the Zoom video, but keep it on top of any other applications you have open on your computer). It looks like with ShowWindow() I couldn't achieve this.

So I have two methods - show zoom conference window and hide it. When hidden, the mini window doesn't appear.

Looks like secondView isn't what I need either. The documentation isn't very detailed, but it seems to have something to do with displaying a window on a second monitor.

     bool FlutterZoomSdkPlugin::showMeeting() {
        if (FlutterZoomSdkPlugin::MeetingService) {
            ZOOM_SDK_NAMESPACE::IMeetingUIController* UIController = FlutterZoomSdkPlugin::MeetingService->GetUIController();

            if (UIController) {
                HWND firstView = NULL;
                HWND secondView = NULL;

                UIController->GetMeetingUIWnd(firstView, secondView);

                if (firstView) {
                    ShowWindow(firstView, SW_SHOWMAXIMIZED);
                    UIController->BackToMeeting();

                    _cputts(L"Show meeting screen\n");

                    return true;
                }
            }
        }

        return false;
    }

    bool FlutterZoomSdkPlugin::hideMeeting() {
        if (FlutterZoomSdkPlugin::MeetingService) {
            ZOOM_SDK_NAMESPACE::IMeetingUIController* UIController = FlutterZoomSdkPlugin::MeetingService->GetUIController();

            if (UIController) {
                HWND firstView = NULL;
                HWND secondView = NULL;

                UIController->GetMeetingUIWnd(firstView, secondView);

                if (firstView) {
                    ShowWindow(firstView, SW_HIDE);

                    _cputts(L"Hide meeting screen\n");

                    return true;
                }

            }
        }

        return false;
    }
M14
  • 192
  • 1
  • 2
  • 10

0 Answers0