Home | History | Annotate | Download | only in Windows

Lines Matching full:hwnd

38 inline bool MySetWindowText(HWND wnd, LPCWSTR s) { return BOOLToBool(::SetWindowText(wnd, s)); }

40 bool MySetWindowText(HWND wnd, LPCWSTR s);
57 HWND _window;
59 CWindow(HWND newWindow = NULL): _window(newWindow){};
60 CWindow& operator=(HWND newWindow)
65 operator HWND() const { return _window; }
66 void Attach(HWND newWindow) { _window = newWindow; }
67 HWND Detach()
69 HWND window = _window;
76 HWND GetParent() const { return ::GetParent(_window); }
87 HWND parentWindow, HMENU idOrHMenu,
99 HWND parentWindow, HMENU idOrHMenu,
112 HWND parentWindow, HMENU idOrHMenu,
117 HWND parentWindow, HMENU idOrHMenu,
135 bool ChangeSubWindowSizeX(HWND hwnd, int xSize)
138 ::GetWindowRect(hwnd, &rect);
143 return BOOLToBool(::MoveWindow(hwnd, p1.x, p1.y, xSize, rect.bottom - rect.top, TRUE));
217 bool ModifyStyle(HWND hWnd, DWORD remove, DWORD add, UINT flags = 0)
219 bool ModifyStyleEx(HWND hWnd, DWORD remove, DWORD add, UINT flags = 0)
223 HWND SetFocus() { return ::SetFocus(_window); }