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

Method OnSize

windows/APIExample/APIExample/AGVideoTestWnd.cpp:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111
112void CAGVideoTestWnd::OnSize(UINT nType, int cx, int cy)
113{
114 CWnd::OnSize(nType, cx, cy);
115
116 if (m_wndVideoWnd.GetSafeHwnd() != NULL)
117 m_wndVideoWnd.MoveWindow(15, 0, cx - 30, cy);
118
119 // TODO: add message handle code here
120}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected