Lines Matching refs:wnd
31 void CalculateWindowSizeForText(HWND wnd, in CalculateWindowSizeForText() argument
35 HDC dc = ::GetDC(wnd); in CalculateWindowSizeForText()
38 ::ReleaseDC(wnd, dc); in CalculateWindowSizeForText()
40 ::GetClientRect(wnd, &client); in CalculateWindowSizeForText()
41 ::GetWindowRect(wnd, &window); in CalculateWindowSizeForText()
54 std::string GetWindowText(HWND wnd) { in GetWindowText() argument
56 ::GetWindowTextA(wnd, &text[0], ARRAYSIZE(text)); in GetWindowText()
457 void MainWnd::CreateChildWindow(HWND* wnd, in CreateChildWindow() argument
462 if (::IsWindow(*wnd)) in CreateChildWindow()
467 *wnd = ::CreateWindowExW(ex_style, class_name, L"", style, 100, 100, 100, 100, in CreateChildWindow()
470 RTC_DCHECK(::IsWindow(*wnd) != FALSE); in CreateChildWindow()
471 ::SendMessage(*wnd, WM_SETFONT, reinterpret_cast<WPARAM>(GetDefaultFont()), in CreateChildWindow()
494 HWND wnd; in LayoutConnectUI() member
509 CalculateWindowSizeForText(windows[i].wnd, windows[i].text, in LayoutConnectUI()
520 ::MoveWindow(windows[i].wnd, static_cast<int>(x), static_cast<int>(top), in LayoutConnectUI()
525 ::SetWindowTextW(windows[i].wnd, windows[i].text); in LayoutConnectUI()
526 ::ShowWindow(windows[i].wnd, SW_SHOWNA); in LayoutConnectUI()
530 ::ShowWindow(windows[i].wnd, SW_HIDE); in LayoutConnectUI()
576 HWND wnd, in VideoRenderer() argument
580 : wnd_(wnd), rendered_track_(track_to_render) { in VideoRenderer()