• Home
  • Raw
  • Download

Lines Matching refs:_window

58   HWND _window;
60 CWindow(HWND newWindow = NULL): _window(newWindow){}; in _window() function
63 _window = newWindow;
66 operator HWND() const { return _window; } in HWND()
67 void Attach(HWND newWindow) { _window = newWindow; } in Attach()
70 HWND window = _window; in Detach()
71 _window = NULL; in Detach()
75 bool Foreground() { return BOOLToBool(::SetForegroundWindow(_window)); } in Foreground()
77 HWND GetParent() const { return ::GetParent(_window); } in GetParent()
78 bool GetWindowRect(LPRECT rect) const { return BOOLToBool(::GetWindowRect(_window,rect)); } in GetWindowRect()
80 bool IsZoomed() const { return BOOLToBool(::IsZoomed(_window)); } in IsZoomed()
82 bool ClientToScreen(LPPOINT point) const { return BOOLToBool(::ClientToScreen(_window, point)); } in ClientToScreen()
83 bool ScreenToClient(LPPOINT point) const { return BOOLToBool(::ScreenToClient(_window, point)); } in ScreenToClient()
91 _window = ::CreateWindowEx(exStyle, className, windowName, in CreateEx()
94 return (_window != NULL); in CreateEx()
103 _window = ::CreateWindow(className, windowName, in Create()
106 return (_window != NULL); in Create()
125 if (_window == NULL) in Destroy()
127 bool result = BOOLToBool(::DestroyWindow(_window)); in Destroy()
129 _window = NULL; in Destroy()
132 bool IsWindow() { return BOOLToBool(::IsWindow(_window)); } in IsWindow()
134 { return BOOLToBool(::MoveWindow(_window, x, y, width, height, BoolToBOOL(repaint))); }
163 bool GetClientRect(LPRECT rect) { return BOOLToBool(::GetClientRect(_window, rect)); } in GetClientRect()
164 bool Show(int cmdShow) { return BOOLToBool(::ShowWindow(_window, cmdShow)); } in Show()
168 …(CONST WINDOWPLACEMENT *placement) { return BOOLToBool(::SetWindowPlacement(_window, placement)); } in SetPlacement()
169 …bool GetPlacement(WINDOWPLACEMENT *placement) { return BOOLToBool(::GetWindowPlacement(_window, pl… in GetPlacement()
171 bool Update() { return BOOLToBool(::UpdateWindow(_window)); } in Update()
173 { return BOOLToBool(::InvalidateRect(_window, rect, BoolToBOOL(backgroundErase))); }
180 …LONG_PTR SetLong(int index, LONG newLongPtr) { return ::SetWindowLong(_window, index, newLongPtr);… in SetLong()
181 LONG_PTR GetLong(int index) const { return ::GetWindowLong(_window, index); } in GetLong()
197 { return ::SetWindowLongPtr(_window, index, in SetLongPtr()
204 { return ::SetWindowLongPtrW(_window, index, in SetLongPtrW()
211 LONG_PTR GetLongPtr(int index) const { return ::GetWindowLongPtr(_window, index); } in GetLongPtr()
224 HWND SetFocus() { return ::SetFocus(_window); } in SetFocus()
227 { return ::SendMessage(_window, message, wParam, lParam); }
230 { return ::SendMessageW(_window, message, wParam, lParam); }
234 { return BOOLToBool(::PostMessage(_window, message, wParam, lParam)); }
237 { return BOOLToBool(::PostMessageW(_window, message, wParam, lParam)); }
240 bool SetText(LPCTSTR s) { return BOOLToBool(::SetWindowText(_window, s)); } in SetText()
242 bool SetText(LPCWSTR s) { return MySetWindowText(_window, s); } in SetText()
246 { return GetWindowTextLength(_window); } in GetTextLength()
248 { return GetWindowText(_window, string, maxCount); } in GetText()
259 { return BOOLToBool(::EnableWindow(_window, BoolToBOOL(enable))); } in Enable()
262 { return BOOLToBool(::IsWindowEnabled(_window)); } in IsEnabled()
266 { return ::GetSystemMenu(_window, BoolToBOOL(revert)); } in GetSystemMenu()
270 { return ::SetTimer(_window, idEvent, elapse, timerFunc); }
272 {return BOOLToBool(::KillTimer(_window, idEvent)); } in KillTimer()