Home | History | Annotate | Download | only in Windows

Lines Matching refs:BoolToBOOL

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

74 bool Foreground() { return BOOLToBool(::SetForegroundWindow(_window)); }
77 bool GetWindowRect(LPRECT rect) const { return BOOLToBool(::GetWindowRect(_window,rect)); }
79 bool IsZoomed() const { return BOOLToBool(::IsZoomed(_window)); }
81 bool ClientToScreen(LPPOINT point) const { return BOOLToBool(::ClientToScreen(_window, point)); }
82 bool ScreenToClient(LPPOINT point) const { return BOOLToBool(::ScreenToClient(_window, point)); }
126 bool result = BOOLToBool(::DestroyWindow(_window));
131 bool IsWindow() { return BOOLToBool(::IsWindow(_window)); }
133 { return BOOLToBool(::MoveWindow(_window, x, y, width, height, BoolToBOOL(repaint))); }
143 return BOOLToBool(::MoveWindow(hwnd, p1.x, p1.y, xSize, rect.bottom - rect.top, TRUE));
162 bool GetClientRect(LPRECT rect) { return BOOLToBool(::GetClientRect(_window, rect)); }
163 bool Show(int cmdShow) { return BOOLToBool(::ShowWindow(_window, cmdShow)); }
167 bool SetPlacement(CONST WINDOWPLACEMENT *placement) { return BOOLToBool(::SetWindowPlacement(_window, placement)); }
168 bool GetPlacement(WINDOWPLACEMENT *placement) { return BOOLToBool(::GetWindowPlacement(_window, placement)); }
170 bool Update() { return BOOLToBool(::UpdateWindow(_window)); }
172 { return BOOLToBool(::InvalidateRect(_window, rect, BoolToBOOL(backgroundErase))); }
173 void SetRedraw(bool redraw = true) { SendMessage(WM_SETREDRAW, BoolToBOOL(redraw), 0); }
233 { return BOOLToBool(::PostMessage(_window, message, wParam, lParam)) ;}
239 bool SetText(LPCTSTR s) { return BOOLToBool(::SetWindowText(_window, s)); }
258 { return BOOLToBool(::EnableWindow(_window, BoolToBOOL(enable))); }
261 { return BOOLToBool(::IsWindowEnabled(_window)); }
265 { return ::GetSystemMenu(_window, BoolToBOOL(revert)); }
271 {return BOOLToBool(::KillTimer(_window, idEvent)); }