Lines Matching refs:wnd
31 void CalculateWindowSizeForText(HWND wnd, const wchar_t* text, in CalculateWindowSizeForText() argument
33 HDC dc = ::GetDC(wnd); in CalculateWindowSizeForText()
36 ::ReleaseDC(wnd, dc); in CalculateWindowSizeForText()
38 ::GetClientRect(wnd, &client); in CalculateWindowSizeForText()
39 ::GetWindowRect(wnd, &window); in CalculateWindowSizeForText()
54 std::string GetWindowText(HWND wnd) { in GetWindowText() argument
56 ::GetWindowTextA(wnd, &text[0], ARRAYSIZE(text)); in GetWindowText()
445 void MainWnd::CreateChildWindow(HWND* wnd, MainWnd::ChildWindowID id, in CreateChildWindow() argument
448 if (::IsWindow(*wnd)) in CreateChildWindow()
453 *wnd = ::CreateWindowEx(ex_style, class_name, L"", style, in CreateChildWindow()
457 ASSERT(::IsWindow(*wnd) != FALSE); in CreateChildWindow()
458 ::SendMessage(*wnd, WM_SETFONT, reinterpret_cast<WPARAM>(GetDefaultFont()), in CreateChildWindow()
481 HWND wnd; in LayoutConnectUI() member
498 CalculateWindowSizeForText(windows[i].wnd, windows[i].text, in LayoutConnectUI()
509 ::MoveWindow(windows[i].wnd, static_cast<int>(x), static_cast<int>(top), in LayoutConnectUI()
515 ::SetWindowText(windows[i].wnd, windows[i].text); in LayoutConnectUI()
516 ::ShowWindow(windows[i].wnd, SW_SHOWNA); in LayoutConnectUI()
520 ::ShowWindow(windows[i].wnd, SW_HIDE); in LayoutConnectUI()
566 HWND wnd, int width, int height, in VideoRenderer() argument
568 : wnd_(wnd), rendered_track_(track_to_render) { in VideoRenderer()