Home
last modified time | relevance | path

Searched refs:rcWindow (Results 1 – 25 of 43) sorted by relevance

12

/reactos/win32ss/user/ntuser/
H A Dvis.c35 VisRgn = IntSysCreateRectpRgnIndirect(&Wnd->rcWindow); in VIS_ComputeVisibleRegion()
77 ClipRgn = IntSysCreateRectpRgnIndirect(&CurrentSibling->rcWindow); in VIS_ComputeVisibleRegion()
84 … REGION_bOffsetRgn(ClipRgn, -CurrentSibling->rcWindow.left, -CurrentSibling->rcWindow.top); in VIS_ComputeVisibleRegion()
86 … REGION_bOffsetRgn(ClipRgn, CurrentSibling->rcWindow.left, CurrentSibling->rcWindow.top); in VIS_ComputeVisibleRegion()
109 ClipRgn = IntSysCreateRectpRgnIndirect(&CurrentWindow->rcWindow); in VIS_ComputeVisibleRegion()
116 … REGION_bOffsetRgn(ClipRgn, -CurrentWindow->rcWindow.left, -CurrentWindow->rcWindow.top); in VIS_ComputeVisibleRegion()
118 … REGION_bOffsetRgn(ClipRgn, CurrentWindow->rcWindow.left, CurrentWindow->rcWindow.top); in VIS_ComputeVisibleRegion()
134 REGION_bOffsetRgn(VisRgn, -Wnd->rcWindow.left, -Wnd->rcWindow.top); in VIS_ComputeVisibleRegion()
136 REGION_bOffsetRgn(VisRgn, Wnd->rcWindow.left, Wnd->rcWindow.top); in VIS_ComputeVisibleRegion()
164 Wnd->rcWindow.left - Parent->rcClient.left, in co_VIS_WindowLayoutChanged()
[all …]
H A Dnonclient.c80 rect->right = Wnd->rcWindow.right - Wnd->rcWindow.left; in NC_GetInsideRect()
81 rect->bottom = Wnd->rcWindow.bottom - Wnd->rcWindow.top; in NC_GetInsideRect()
161 rectWindow = Wnd->rcWindow; in DefWndStartSizeMove()
324 sizingRect = pwnd->rcWindow; in DefWndDoSizeMove()
1984 RECT rcWindow, rcClient; in GetNCHitEx() local
1991 rcClient.left = rcClient.top = rcWindow.left = rcWindow.top = 0; in GetNCHitEx()
2000 rcWindow = pWnd->rcWindow; in GetNCHitEx()
2019 if (pt.y < rcWindow.top) in GetNCHitEx()
2026 if (pt.y >= rcWindow.bottom) in GetNCHitEx()
2033 if (pt.x < rcWindow.left) in GetNCHitEx()
[all …]
H A Dpainting.c224 Wnd->rcWindow.left, in IntCalcWindowRgn()
225 Wnd->rcWindow.top, in IntCalcWindowRgn()
226 Wnd->rcWindow.right, in IntCalcWindowRgn()
233 -Wnd->rcWindow.left, in IntCalcWindowRgn()
234 -Wnd->rcWindow.top); in IntCalcWindowRgn()
237 Wnd->rcWindow.left, in IntCalcWindowRgn()
238 Wnd->rcWindow.top); in IntCalcWindowRgn()
1061 Rect = pwnd->rcWindow; in PaintSuspendedWindow()
1062 RECTL_vOffsetRect(&Rect, -pwnd->rcWindow.left, -pwnd->rcWindow.top); in PaintSuspendedWindow()
1276 cx = pwnd->rcWindow.right - pwnd->rcWindow.left; in IntPrintWindow()
[all …]
H A Dwindc.c156 rect = Window->rcWindow; in DceSetDrawable()
225 RgnVisible = IntSysCreateRectpRgnIndirect(&DesktopWindow->rcWindow); in DceUpdateVisRgn()
577 Wnd->rcWindow.left, in UserGetDCEx()
578 Wnd->rcWindow.top, in UserGetDCEx()
579 Wnd->rcWindow.right, in UserGetDCEx()
580 Wnd->rcWindow.bottom); in UserGetDCEx()
862 DeltaX = CurrentWindow->rcWindow.left - dc->ptlDCOrig.x; in DceResetActiveDCEs()
863 DeltaY = CurrentWindow->rcWindow.top - dc->ptlDCOrig.y; in DceResetActiveDCEs()
864 dc->ptlDCOrig.x = CurrentWindow->rcWindow.left; in DceResetActiveDCEs()
865 dc->ptlDCOrig.y = CurrentWindow->rcWindow.top; in DceResetActiveDCEs()
H A Dwinpos.h32 if(!RECTL_bPointInRect(&pwnd->rcWindow, x, y)) in IntPtInWindow()
43 x - pwnd->rcWindow.left, in IntPtInWindow()
44 y - pwnd->rcWindow.top); in IntPtInWindow()
H A Dwinpos.c128 *Rect = Wnd->rcWindow; in IntGetWindowRect()
956 rc = Window->rcWindow; in co_WinPosGetMinMaxInfo()
1291 *WindowRect = Window->rcWindow; in co_WinPosDoWinPosChanging()
1534 Window->rcWindow.left += MoveX; in WinPosInternalMoveWindow()
1536 Window->rcWindow.top += MoveY; in WinPosInternalMoveWindow()
1584 if (Wnd->rcWindow.right - Wnd->rcWindow.left == WinPos->cx && in WinPosFixupFlags()
1585 Wnd->rcWindow.bottom - Wnd->rcWindow.top == WinPos->cy) in WinPosFixupFlags()
1595 if (Wnd->rcWindow.left == pt.x && Wnd->rcWindow.top == pt.y) in WinPosFixupFlags()
1903 REGION_bOffsetRgn(VisBefore, -Window->rcWindow.left, -Window->rcWindow.top); in co_WinPosSetWindowPos()
2040 REGION_bOffsetRgn(VisAfter, -Window->rcWindow.left, -Window->rcWindow.top); in co_WinPosSetWindowPos()
[all …]
H A Dscrollbar.c109 RECTL_vOffsetRect(lprect, -Wnd->rcWindow.left, -Wnd->rcWindow.top); in IntGetScrollBarRect()
111 mirror_rect(&Wnd->rcWindow, lprect); in IntGetScrollBarRect()
633 UpdateRect.left -= Window->rcClient.left - Window->rcWindow.left; in co_IntSetScrollInfo()
634 UpdateRect.right -= Window->rcClient.left - Window->rcWindow.left; in co_IntSetScrollInfo()
635 UpdateRect.top -= Window->rcClient.top - Window->rcWindow.top; in co_IntSetScrollInfo()
636 UpdateRect.bottom -= Window->rcClient.top - Window->rcWindow.top; in co_IntSetScrollInfo()
648 UpdateRect.left -= Window->rcClient.left - Window->rcWindow.left; in co_IntSetScrollInfo()
649 UpdateRect.right -= Window->rcClient.left - Window->rcWindow.left; in co_IntSetScrollInfo()
650 UpdateRect.top -= Window->rcClient.top - Window->rcWindow.top; in co_IntSetScrollInfo()
651 UpdateRect.bottom -= Window->rcClient.top - Window->rcWindow.top; in co_IntSetScrollInfo()
[all …]
H A Dwindow.c1215 pt.x = Wnd->rcWindow.right; in co_IntSetParent()
1217 pt.x = Wnd->rcWindow.left; in co_IntSetParent()
1218 pt.y = Wnd->rcWindow.top; in co_IntSetParent()
2374 Window->rcWindow.left = Cs->x; in co_UserCreateWindowEx()
2375 Window->rcWindow.top = Cs->y; in co_UserCreateWindowEx()
2376 Window->rcWindow.right = Cs->x + Size.cx; in co_UserCreateWindowEx()
2394 Window->rcWindow.left = Window->rcWindow.right - Size.cx; in co_UserCreateWindowEx()
2398 Window->rcClient = Window->rcWindow; in co_UserCreateWindowEx()
2471 MaxPos.x = Window->rcWindow.left; in co_UserCreateWindowEx()
2472 MaxPos.y = Window->rcWindow.top; in co_UserCreateWindowEx()
[all …]
/reactos/modules/rostests/tests/wclickat/
H A Dwclickat.c273 x=window_info.rcWindow.left+g_x; in do_click()
274 if (x<window_info.rcWindow.left || x>=window_info.rcWindow.right) in do_click()
275 x=(window_info.rcWindow.right+window_info.rcWindow.left)/2; in do_click()
278 y=window_info.rcWindow.top+g_y; in do_click()
279 if (y<window_info.rcWindow.top || y>=window_info.rcWindow.bottom) in do_click()
280 y=(window_info.rcWindow.bottom+window_info.rcWindow.top)/2; in do_click()
293 if (dragto_x<window_info.rcWindow.left || dragto_x>=window_info.rcWindow.right) in do_click()
294 dragto_x=(window_info.rcWindow.right+window_info.rcWindow.left)/2; in do_click()
297 dragto_y=window_info.rcWindow.top+g_dragto_y; in do_click()
298 if (dragto_y<window_info.rcWindow.top || dragto_y>=window_info.rcWindow.bottom) in do_click()
[all …]
/reactos/dll/win32/uxtheme/
H A Dthemehooks.c172 RECT rcWindow; in SetThemeRegion() local
195 GetWindowRect(hWnd, &rcWindow); in SetThemeRegion()
196 rcWindow.right -= rcWindow.left; in SetThemeRegion()
197 rcWindow.bottom = CaptionHeight; in SetThemeRegion()
198 rcWindow.top = 0; in SetThemeRegion()
199 rcWindow.left = 0; in SetThemeRegion()
204 GetWindowRect(hWnd, &rcWindow); in SetThemeRegion()
205 rcWindow.right -= rcWindow.left; in SetThemeRegion()
206 rcWindow.bottom -= rcWindow.top; in SetThemeRegion()
207 rcWindow.top = CaptionHeight; in SetThemeRegion()
[all …]
H A Dnonclient.c242 rcCurrent.right = wi->rcWindow.right - wi->rcWindow.left; in ThemeCalculateCaptionButtonsPosEx()
243 rcCurrent.bottom = wi->rcWindow.bottom - wi->rcWindow.top; in ThemeCalculateCaptionButtonsPosEx()
623 rcCurrent = context.wi.rcWindow; in ThemeHandleNCPaint()
624 OffsetRect( &rcCurrent, -context.wi.rcWindow.left, -context.wi.rcWindow.top); in ThemeHandleNCPaint()
809 if (!PtInRect(&wi.rcWindow, Point)) in DefWndNCHitTest()
813 WindowRect = wi.rcWindow; in DefWndNCHitTest()
913 POINT pt = {Point.x - wi.rcWindow.left, Point.y - wi.rcWindow.top}; in DefWndNCHitTest()
1109 …rcWindowPrev = { pcontext->wi.rcWindow.left, pcontext->wi.rcWindow.top, pcontext->wi.rcWindow.righ… in DrawWindowForNCPreview()
1113 pcontext->wi.rcWindow = rcWindowNew; in DrawWindowForNCPreview()
1173 OffsetRect(&rcClientNew, -pcontext->wi.rcWindow.left, -pcontext->wi.rcWindow.top); in DrawWindowForNCPreview()
[all …]
H A Dncscrollbar.c194 thumbPos += pcontext->wi.rcClient.top - pcontext->wi.rcWindow.top; in SCROLL_DrawInterior()
201 thumbPos += pcontext->wi.rcClient.left - pcontext->wi.rcWindow.left; in SCROLL_DrawInterior()
301 OffsetRect(&psbi->rcScrollBar, -pcontext->wi.rcWindow.left, -pcontext->wi.rcWindow.top); in ThemeDrawScrollBarEx()
429 OffsetRect(&sbi.rcScrollBar, -context.wi.rcWindow.left, -context.wi.rcWindow.top); in SCROLL_HandleScrollEvent()
/reactos/dll/win32/shell32/shellmenu/
H A DCMenuDeskBar.cpp286 RECT rcWindow = { *px, *py, *px + cx, *py + cy }; in AdjustForExcludeArea() local
288 if (rcWindow.right > rcExclude.left && rcWindow.left < rcExclude.right && in AdjustForExcludeArea()
289 rcWindow.bottom > rcExclude.top && rcWindow.top < rcExclude.bottom) in AdjustForExcludeArea()
293 if (alignTop && rcWindow.bottom > rcExclude.top) in AdjustForExcludeArea()
295 else if (!alignTop && rcWindow.top < rcExclude.bottom) in AdjustForExcludeArea()
297 else if (alignLeft && rcWindow.right > rcExclude.left) in AdjustForExcludeArea()
304 if (alignLeft && rcWindow.right > rcExclude.left) in AdjustForExcludeArea()
308 else if (alignTop && rcWindow.bottom > rcExclude.top) in AdjustForExcludeArea()
830 RECT rcWindow; in _OnNcPaint() local
833 GetWindowRect(&rcWindow); in _OnNcPaint()
[all …]
/reactos/base/applications/osk/
H A Dmain.c372 RECT rcWindow, rcDlgIntersect; in OSK_Create() local
411 GetWindowRect(hwnd, &rcWindow); in OSK_Create()
419 …Globals.PosX = (info.rcMonitor.left + info.rcMonitor.right - (rcWindow.right - rcWindow.left)) / 2; in OSK_Create()
420 Globals.PosY = info.rcMonitor.bottom - (rcWindow.bottom - rcWindow.top); in OSK_Create()
427 if (IntersectRect(&rcDlgIntersect, &rcWindow, &info.rcWork) == 0) in OSK_Create()
429 …Globals.PosX = (info.rcMonitor.left + info.rcMonitor.right - (rcWindow.right - rcWindow.left)) / 2; in OSK_Create()
430 Globals.PosY = info.rcMonitor.bottom - (rcWindow.bottom - rcWindow.top); in OSK_Create()
438 …if (rcWindow.top < info.rcWork.top || rcWindow.left < info.rcWork.left || rcWindow.right > info.rc… in OSK_Create()
440 …Globals.PosX = (info.rcMonitor.left + info.rcMonitor.right - (rcWindow.right - rcWindow.left)) / 2; in OSK_Create()
441 Globals.PosY = info.rcMonitor.bottom - (rcWindow.bottom - rcWindow.top); in OSK_Create()
/reactos/base/applications/sndvol32/
H A Dtray.c35 RECT rcWindow; in OnTrayInitDialog() local
41 GetWindowRect(hwnd, &rcWindow); in OnTrayInitDialog()
45 cx = rcWindow.right - rcWindow.left; in OnTrayInitDialog()
46 cy = rcWindow.bottom - rcWindow.top; in OnTrayInitDialog()
/reactos/modules/rostests/apitests/shell32/
H A DSHAppBarMessage.cpp646 RECT rcWindow; in AppBar_PosChanged() local
647 GetWindowRect(pabd->hWnd, &rcWindow); in AppBar_PosChanged()
648 INT cx = rcWindow.right - rcWindow.left; in AppBar_PosChanged()
649 INT cy = rcWindow.bottom - rcWindow.top; in AppBar_PosChanged()
717 RECT rcWindow; in OnSize() local
727 GetWindowRect(hwnd, &rcWindow); in OnSize()
728 m_rcAppBar = rcWindow; in OnSize()
732 m_cyHeight = m_cySave = rcWindow.bottom - rcWindow.top; in OnSize()
736 m_cxWidth = m_cxSave = rcWindow.right - rcWindow.left; in OnSize()
/reactos/win32ss/user/user32/windows/
H A Dpaint.c45 INT Ret = pWnd->rcWindow.right - pWnd->rcWindow.left - lprc->left; in MirrorWindowRect()
46 lprc->left = pWnd->rcWindow.right - pWnd->rcWindow.left - lprc->right; in MirrorWindowRect()
/reactos/dll/win32/newdev/
H A Dwizard.c36 RECT rcWindow; in CenterWindow() local
43 GetWindowRect(hWnd, &rcWindow); in CenterWindow()
46 if (rcWindow.left < rcParent.left || rcWindow.top < rcParent.top || in CenterWindow()
47 rcWindow.right > rcParent.right || rcWindow.bottom > rcParent.bottom) in CenterWindow()
55 ((rcParent.right - rcParent.left) - (rcWindow.right - rcWindow.left)) / 2, in CenterWindow()
56 ((rcParent.bottom - rcParent.top) - (rcWindow.bottom - rcWindow.top)) / 2, in CenterWindow()
/reactos/base/setup/welcome/
H A Dwelcome.c763 RECT rcWindow; in _tWinMain() local
839 rcWindow.top = 0; in _tWinMain()
840 rcWindow.bottom = ulInnerHeight - 1; in _tWinMain()
841 rcWindow.left = 0; in _tWinMain()
842 rcWindow.right = ulInnerWidth - 1; in _tWinMain()
844 AdjustWindowRect(&rcWindow, dwStyle, FALSE); in _tWinMain()
845 xWidth = rcWindow.right - rcWindow.left; in _tWinMain()
846 yHeight = rcWindow.bottom - rcWindow.top; in _tWinMain()
/reactos/base/system/userinit/
H A Dlivecd.c563 RECT rcWindow; in CenterWindow() local
570 GetWindowRect(hWnd, &rcWindow); in CenterWindow()
574 ((rcParent.right - rcParent.left) - (rcWindow.right - rcWindow.left)) / 2, in CenterWindow()
575 ((rcParent.bottom - rcParent.top) - (rcWindow.bottom - rcWindow.top)) / 2, in CenterWindow()
/reactos/dll/cpl/desk/
H A Dappearance.c20 RECT rcWindow; in AppearancePage_UpdateThemePreview() local
22 GetClientRect(GetDlgItem(hwndDlg, IDC_APPEARANCE_PREVIEW), &rcWindow); in AppearancePage_UpdateThemePreview()
23 if (DrawThemePreview(g->hdcThemePreview, &g->Scheme, &g->ActiveTheme, &rcWindow)) in AppearancePage_UpdateThemePreview()
/reactos/dll/win32/comctl32/
H A Dpager.c114 RECT rcWindow; in PAGER_GetButtonRects() local
115 GetWindowRect (infoPtr->hwndSelf, &rcWindow); in PAGER_GetButtonRects()
118 MapWindowPoints( 0, infoPtr->hwndSelf, (POINT *)&rcWindow, 2 ); in PAGER_GetButtonRects()
120 OffsetRect(&rcWindow, -rcWindow.left, -rcWindow.top); in PAGER_GetButtonRects()
122 *prcTopLeft = *prcBottomRight = rcWindow; in PAGER_GetButtonRects()
622 RECT rcChild, rcWindow; in PAGER_NCCalcSize() local
637 GetWindowRect (infoPtr->hwndSelf, &rcWindow); in PAGER_NCCalcSize()
658 …("nPos=%d, nHeight=%d, window=%s\n", infoPtr->nPos, infoPtr->nHeight, wine_dbgstr_rect(&rcWindow)); in PAGER_NCCalcSize()
/reactos/dll/win32/comdlg32/
H A Dfontdlg.c1064 MapWindowPoints( 0, hDlg, (LPPOINT) &wininfo.rcWindow, 2); in CFn_WMCommand()
1065 InvalidateRect( hDlg, &wininfo.rcWindow, TRUE ); in CFn_WMCommand()
1081 MapWindowPoints( 0, hDlg, (LPPOINT) &wininfo.rcWindow, 2); in CFn_WMCommand()
1082 InvalidateRect( hDlg, &wininfo.rcWindow, TRUE ); in CFn_WMCommand()
1178 MapWindowPoints( 0, hDlg, (LPPOINT) &info.rcWindow, 2); in CFn_WMPaint()
1184 DrawEdge( hdc, &info.rcWindow, EDGE_SUNKEN, BF_RECT|BF_ADJUST ); in CFn_WMPaint()
1193 -1, &info.rcWindow, DT_CENTER|DT_VCENTER|DT_SINGLELINE ); in CFn_WMPaint()
/reactos/dll/win32/setupapi/
H A Dmisc.c1112 RECT rcWindow; in pSetupCenterWindowRelativeToParent() local
1126 GetWindowRect(hwnd, &rcWindow); in pSetupCenterWindowRelativeToParent()
1129 nWindowWidth = rcWindow.right - rcWindow.left; in pSetupCenterWindowRelativeToParent()
1130 nWindowHeight = rcWindow.bottom - rcWindow.top; in pSetupCenterWindowRelativeToParent()
/reactos/win32ss/user/user32/controls/
H A Dscrollbar.c501 OffsetRect( Rect, -pWnd->rcWindow.left, -pWnd->rcWindow.top ); in IntScrollGetScrollBarRect()
503 mirror_rect( &pWnd->rcWindow, Rect ); in IntScrollGetScrollBarRect()
1165 XOffset = pwnd->rcClient.left - pwnd->rcWindow.left; in ScrollTrackScrollBar()
1166 YOffset = pwnd->rcClient.top - pwnd->rcWindow.top; in ScrollTrackScrollBar()
1551 OffsetRect( &(info->rcScrollBar), pWnd->rcWindow.left, pWnd->rcWindow.top ); in GetScrollBarInfo()

12