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

Method OnCreate

windows/APIExample/APIExample/AGVideoWnd.cpp:305–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303
304
305int CAGVideoWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
306{
307 if (CWnd::OnCreate(lpCreateStruct) == -1)
308 return -1;
309
310 // TODO: add you own creation code here
311 m_wndInfo.Create(NULL, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, CRect(0, 0, WND_INFO_WIDTH, WND_INFO_HEIGHT), this, IDC_STATIC);
312 m_wndInfo.ShowTips(FALSE);
313 return 0;
314}
315
316
317void CAGVideoWnd::ShowStatsInfo(BOOL bShow, BOOL bIsRemote)

Callers

nothing calls this directly

Calls 2

ShowTipsMethod · 0.80
CreateMethod · 0.45

Tested by

no test coverage detected