Lines Matching refs:_window

57   HWND _window;
59 CWindow(HWND newWindow = NULL): _window(newWindow){}; in _window() function
62 _window = newWindow;
65 operator HWND() const { return _window; } in HWND()
66 void Attach(HWND newWindow) { _window = newWindow; } in Attach()
69 HWND window = _window; in Detach()
70 _window = NULL; in Detach()
74 bool Foreground() { return BOOLToBool(::SetForegroundWindow(_window)); } in Foreground()
76 HWND GetParent() const { return ::GetParent(_window); } in GetParent()
77 bool GetWindowRect(LPRECT rect) const { return BOOLToBool(::GetWindowRect(_window,rect)); } in GetWindowRect()
79 bool IsZoomed() const { return BOOLToBool(::IsZoomed(_window)); } in IsZoomed()
81 bool ClientToScreen(LPPOINT point) const { return BOOLToBool(::ClientToScreen(_window, point)); } in ClientToScreen()
82 bool ScreenToClient(LPPOINT point) const { return BOOLToBool(::ScreenToClient(_window, point)); } in ScreenToClient()
90 _window = ::CreateWindowEx(exStyle, className, windowName, in CreateEx()
93 return (_window != NULL); in CreateEx()
102 _window = ::CreateWindow(className, windowName, in Create()
105 return (_window != NULL); in Create()
124 if (_window == NULL) in Destroy()
126 bool result = BOOLToBool(::DestroyWindow(_window)); in Destroy()
128 _window = NULL; in Destroy()
131 bool IsWindow() { return BOOLToBool(::IsWindow(_window)); } in IsWindow()
133 { return BOOLToBool(::MoveWindow(_window, x, y, width, height, BoolToBOOL(repaint))); }
162 bool GetClientRect(LPRECT rect) { return BOOLToBool(::GetClientRect(_window, rect)); } in GetClientRect()
163 bool Show(int cmdShow) { return BOOLToBool(::ShowWindow(_window, cmdShow)); } in Show()
167 …(CONST WINDOWPLACEMENT *placement) { return BOOLToBool(::SetWindowPlacement(_window, placement)); } in SetPlacement()
168 …bool GetPlacement(WINDOWPLACEMENT *placement) { return BOOLToBool(::GetWindowPlacement(_window, pl… in GetPlacement()
170 bool Update() { return BOOLToBool(::UpdateWindow(_window)); } in Update()
172 { return BOOLToBool(::InvalidateRect(_window, rect, BoolToBOOL(backgroundErase))); }
179 …LONG_PTR SetLong(int index, LONG newLongPtr) { return ::SetWindowLong(_window, index, newLongPtr);… in SetLong()
180 LONG_PTR GetLong(int index) const { return ::GetWindowLong(_window, index); } in GetLong()
196 { return ::SetWindowLongPtr(_window, index, in SetLongPtr()
203 { return ::SetWindowLongPtrW(_window, index, in SetLongPtrW()
210 LONG_PTR GetLongPtr(int index) const { return ::GetWindowLongPtr(_window, index); } in GetLongPtr()
223 HWND SetFocus() { return ::SetFocus(_window); } in SetFocus()
226 { return ::SendMessage(_window, message, wParam, lParam) ;}
229 { return ::SendMessageW(_window, message, wParam, lParam) ;}
233 { return BOOLToBool(::PostMessage(_window, message, wParam, lParam)) ;}
236 { return ::PostMessageW(_window, message, wParam, lParam) ;}
239 bool SetText(LPCTSTR s) { return BOOLToBool(::SetWindowText(_window, s)); } in SetText()
241 bool SetText(LPCWSTR s) { return MySetWindowText(_window, s); } in SetText()
245 { return GetWindowTextLength(_window); } in GetTextLength()
247 { return GetWindowText(_window, string, maxCount); } in GetText()
258 { return BOOLToBool(::EnableWindow(_window, BoolToBOOL(enable))); } in Enable()
261 { return BOOLToBool(::IsWindowEnabled(_window)); } in IsEnabled()
265 { return ::GetSystemMenu(_window, BoolToBOOL(revert)); } in GetSystemMenu()
269 { return ::SetTimer(_window, idEvent, elapse, timerFunc); }
271 {return BOOLToBool(::KillTimer(_window, idEvent)); } in KillTimer()