Lines Matching refs:GetSystemMetrics

170 …pcontext->CaptionHeight += GetSystemMetrics(pcontext->wi.dwExStyle & WS_EX_TOOLWINDOW ? SM_CYSMCAP…  in ThemeInitDrawContext()
277 btnHeight = GetSystemMetrics(wi.dwExStyle & WS_EX_TOOLWINDOW ? SM_CYSMSIZE : SM_CYSIZE); in ThemeCalculateCaptionButtonsPos()
422 int IconHeight = GetSystemMetrics(SM_CYSMICON); in ThemeDrawCaption()
423 int IconWidth = GetSystemMetrics(SM_CXSMICON); in ThemeDrawCaption()
476 (GetSystemMetrics(SM_CXFRAME) - GetSystemMetrics(SM_CXDLGFRAME)) * in DrawClassicFrame()
477 GetSystemMetrics(SM_CXBORDER); in DrawClassicFrame()
479 (GetSystemMetrics(SM_CYFRAME) - GetSystemMetrics(SM_CYDLGFRAME)) * in DrawClassicFrame()
480 GetSystemMetrics(SM_CYBORDER); in DrawClassicFrame()
501 INT Width = GetSystemMetrics(SM_CXBORDER); in DrawClassicFrame()
502 INT Height = GetSystemMetrics(SM_CYBORDER); in DrawClassicFrame()
545 rcPart.right = rcPart.left + GetSystemMetrics(SM_CXVSCROLL); in ThemeDrawScrollBarsGrip()
547 rcPart.left = rcPart.right - GetSystemMetrics(SM_CXVSCROLL); in ThemeDrawScrollBarsGrip()
549 rcPart.top = rcPart.bottom - GetSystemMetrics(SM_CYHSCROLL); in ThemeDrawScrollBarsGrip()
820 XSize = GetSystemMetrics(SM_CXSIZE) * GetSystemMetrics(SM_CXBORDER); in DefWndNCHitTest()
821 YSize = GetSystemMetrics(SM_CYSIZE) * GetSystemMetrics(SM_CYBORDER); in DefWndNCHitTest()
880 InflateRect(&WindowRect, -GetSystemMetrics(SM_CXBORDER), in DefWndNCHitTest()
881 -GetSystemMetrics(SM_CYBORDER)); in DefWndNCHitTest()
889 WindowRect.top += GetSystemMetrics(SM_CYSMCAPTION); in DefWndNCHitTest()
891 WindowRect.top += GetSystemMetrics(SM_CYCAPTION); in DefWndNCHitTest()
908 WindowRect.left += GetSystemMetrics(SM_CXSMICON); in DefWndNCHitTest()
949 InflateRect(&WindowRect, -2 * GetSystemMetrics(SM_CXBORDER), in DefWndNCHitTest()
950 -2 * GetSystemMetrics(SM_CYBORDER)); in DefWndNCHitTest()
954 (WindowRect.bottom - WindowRect.top) > GetSystemMetrics(SM_CYHSCROLL)) in DefWndNCHitTest()
959 TempRect.bottom -= GetSystemMetrics(SM_CYHSCROLL); in DefWndNCHitTest()
961 TempRect.right = TempRect.left + GetSystemMetrics(SM_CXVSCROLL); in DefWndNCHitTest()
963 TempRect.left = TempRect.right - GetSystemMetrics(SM_CXVSCROLL); in DefWndNCHitTest()
967 TempRect2.top = TempRect2.bottom - GetSystemMetrics(SM_CYHSCROLL); in DefWndNCHitTest()
969 TempRect2.left += GetSystemMetrics(SM_CXVSCROLL); in DefWndNCHitTest()
971 TempRect2.right -= GetSystemMetrics(SM_CXVSCROLL); in DefWndNCHitTest()
995 TempRect.right = TempRect.left + GetSystemMetrics(SM_CXVSCROLL); in DefWndNCHitTest()
997 TempRect.left = TempRect.right - GetSystemMetrics(SM_CXVSCROLL); in DefWndNCHitTest()
1004 TempRect.top = TempRect.bottom - GetSystemMetrics(SM_CYHSCROLL); in DefWndNCHitTest()