Home | History | Annotate | Download | only in Windows

Lines Matching defs:HWND

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

41 bool MySetWindowText(HWND wnd, LPCWSTR s);
58 HWND _window;
60 CWindow(HWND newWindow = NULL): _window(newWindow){};
61 CWindow& operator=(HWND newWindow)
66 operator HWND() const { return _window; }
67 void Attach(HWND newWindow) { _window = newWindow; }
68 HWND Detach()
70 HWND window = _window;
77 HWND GetParent() const { return ::GetParent(_window); }
88 HWND parentWindow, HMENU idOrHMenu,
100 HWND parentWindow, HMENU idOrHMenu,
113 HWND parentWindow, HMENU idOrHMenu,
118 HWND parentWindow, HMENU idOrHMenu,
136 bool ChangeSubWindowSizeX(HWND hwnd, int xSize)
139 ::GetWindowRect(hwnd, &rect);
144 return BOOLToBool(::MoveWindow(hwnd, p1.x, p1.y, xSize, rect.bottom - rect.top, TRUE));
218 bool ModifyStyle(HWND hWnd, DWORD remove, DWORD add, UINT flags = 0)
220 bool ModifyStyleEx(HWND hWnd, DWORD remove, DWORD add, UINT flags = 0)
224 HWND SetFocus() { return ::SetFocus(_window); }