Home | History | Annotate | Download | only in client

Lines Matching defs:wnd

47 void CalculateWindowSizeForText(HWND wnd, const wchar_t* text,
49 HDC dc = ::GetDC(wnd);
52 ::ReleaseDC(wnd, dc);
54 ::GetClientRect(wnd, &client);
55 ::GetWindowRect(wnd, &window);
70 std::string GetWindowText(HWND wnd) {
72 ::GetWindowTextA(wnd, &text[0], ARRAYSIZE(text));
461 void MainWnd::CreateChildWindow(HWND* wnd, MainWnd::ChildWindowID id,
464 if (::IsWindow(*wnd))
469 *wnd = ::CreateWindowEx(ex_style, class_name, L"", style,
473 ASSERT(::IsWindow(*wnd) != FALSE);
474 ::SendMessage(*wnd, WM_SETFONT, reinterpret_cast<WPARAM>(GetDefaultFont()),
497 HWND wnd;
514 CalculateWindowSizeForText(windows[i].wnd, windows[i].text,
525 wnd, static_cast<int>(x), static_cast<int>(top),
531 ::SetWindowText(windows[i].wnd, windows[i].text);
532 ::ShowWindow(windows[i].wnd, SW_SHOWNA);
536 ::ShowWindow(windows[i].wnd, SW_HIDE);
582 HWND wnd, int width, int height,
584 : wnd_(wnd), rendered_track_(track_to_render) {