Lines Matching refs:GetSystemMetrics
797 frame = curr_val + GetSystemMetrics( SM_CXDLGFRAME ); in test_setborder()
798 eq( frame, GetSystemMetrics( SM_CXFRAME ), "SM_CXFRAME", "%d" ); in test_setborder()
799 eq( frame, GetSystemMetrics( SM_CYFRAME ), "SM_CYFRAME", "%d" ); in test_setborder()
800 eq( frame, GetSystemMetrics( SM_CXSIZEFRAME ), "SM_CXSIZEFRAME", "%d" ); in test_setborder()
801 eq( frame, GetSystemMetrics( SM_CYSIZEFRAME ), "SM_CYSIZEFRAME", "%d" ); in test_setborder()
925 eq( GetSystemMetrics( SM_CXICONSPACING ), curr_val, "SM_CXICONSPACING", "%d" ); in dotest_spi_iconhorizontalspacing()
1094 eq( GetSystemMetrics( SM_CYICONSPACING ), curr_val, "SM_CYICONSPACING", "%d" ); in dotest_spi_iconverticalspacing()
1206 eq( GetSystemMetrics( SM_MENUDROPALIGNMENT ), (int)vals[i], in test_SPI_SETMENUDROPALIGNMENT()
1223 old_width = GetSystemMetrics( SM_CXDOUBLECLK ); in test_SPI_SETDOUBLECLKWIDTH()
1240 eq( GetSystemMetrics( SM_CXDOUBLECLK ), (int)vals[i], in test_SPI_SETDOUBLECLKWIDTH()
1257 old_height = GetSystemMetrics( SM_CYDOUBLECLK ); in test_SPI_SETDOUBLECLKHEIGHT()
1274 eq( GetSystemMetrics( SM_CYDOUBLECLK ), (int)vals[i], in test_SPI_SETDOUBLECLKHEIGHT()
1347 old_b = GetSystemMetrics( SM_SWAPBUTTON ); in test_SPI_SETMOUSEBUTTONSWAP()
1360 eq( GetSystemMetrics( SM_SWAPBUTTON ), (int)vals[i], in test_SPI_SETMOUSEBUTTONSWAP()
1363 eq( GetSystemMetrics( SM_SWAPBUTTON ), (int)vals[i^1], in test_SPI_SETMOUSEBUTTONSWAP()
1680 eq( GetSystemMetrics( SM_CXMINIMIZED ) - 6, in test_SPI_SETMINIMIZEDMETRICS()
1682 eq( GetSystemMetrics( SM_CXMINSPACING ) - GetSystemMetrics( SM_CXMINIMIZED ), in test_SPI_SETMINIMIZEDMETRICS()
1684 eq( GetSystemMetrics( SM_CYMINSPACING ) - GetSystemMetrics( SM_CYMINIMIZED ), in test_SPI_SETMINIMIZEDMETRICS()
1686 eq( GetSystemMetrics( SM_ARRANGE ), in test_SPI_SETMINIMIZEDMETRICS()
1722 eq( GetSystemMetrics( SM_CXMINIMIZED ) - 6, in test_SPI_SETMINIMIZEDMETRICS()
1724 eq( GetSystemMetrics( SM_CXMINSPACING ) - GetSystemMetrics( SM_CXMINIMIZED ), in test_SPI_SETMINIMIZEDMETRICS()
1726 eq( GetSystemMetrics( SM_CYMINSPACING ) - GetSystemMetrics( SM_CYMINIMIZED ), in test_SPI_SETMINIMIZEDMETRICS()
1728 eq( GetSystemMetrics( SM_ARRANGE ), in test_SPI_SETMINIMIZEDMETRICS()
1824 eq( GetSystemMetrics( SM_CXICONSPACING ), in test_SPI_SETICONMETRICS()
1826 eq( GetSystemMetrics( SM_CYICONSPACING ), in test_SPI_SETICONMETRICS()
1943 eq( GetSystemMetrics( SM_SHOWSOUNDS ), (int)vals[i], in test_SPI_SETSHOWSOUNDS()
2498 mode.dmPelsWidth = GetSystemMetrics(SM_CXSCREEN); in test_WM_DISPLAYCHANGE()
2499 mode.dmPelsHeight = GetSystemMetrics(SM_CYSCREEN); in test_WM_DISPLAYCHANGE()
2531 mode.dmPelsWidth = GetSystemMetrics(SM_CXSCREEN); in test_WM_DISPLAYCHANGE()
2532 mode.dmPelsHeight = GetSystemMetrics(SM_CYSCREEN); in test_WM_DISPLAYCHANGE()
2651 int act = GetSystemMetrics( (i));\
2659 int act = GetSystemMetrics( (i));\
2668 int act = GetSystemMetrics( (i));\
2782 GetSystemMetrics( SM_CXMAXIMIZED) - 2 * GetSystemMetrics( SM_CXFRAME)); in test_GetSystemMetrics()
2784 GetSystemMetrics( SM_CYMAXIMIZED) - GetSystemMetrics( SM_CYMIN)); in test_GetSystemMetrics()
2796 GetSystemMetrics( SM_CYSIZE) + 4 + 4 * avcwCaption + 2 * GetSystemMetrics( SM_CXFRAME)); in test_GetSystemMetrics()
2797 ok_gsm( SM_CYMIN, GetSystemMetrics( SM_CYCAPTION) + in test_GetSystemMetrics()
2798 2 * GetSystemMetrics( SM_CYFRAME)); in test_GetSystemMetrics()
2801 GetSystemMetrics( SM_CYCAPTION) - 1 /* WinXP style */ in test_GetSystemMetrics()
2806 ok_gsm( SM_CXMINTRACK, GetSystemMetrics( SM_CXMIN)); in test_GetSystemMetrics()
2807 ok_gsm( SM_CYMINTRACK, GetSystemMetrics( SM_CYMIN)); in test_GetSystemMetrics()
2820 ok_gsm( SM_CXMINSPACING, GetSystemMetrics( SM_CXMINIMIZED) + (short)minim.iHorzGap ); in test_GetSystemMetrics()
2821 ok_gsm( SM_CYMINSPACING, GetSystemMetrics( SM_CYMINIMIZED) + (short)minim.iVertGap ); in test_GetSystemMetrics()
2851 GetSystemMetrics( SM_CYSMCAPTION) - 1, /* WinXP style */ in test_GetSystemMetrics()
2855 ok_gsm( SM_CYSMSIZE, GetSystemMetrics( SM_CYSMCAPTION) - 1); in test_GetSystemMetrics()
2860 ok_gsm( SM_CYMINIMIZED, GetSystemMetrics( SM_CYCAPTION) + 5); in test_GetSystemMetrics()
2861 screen.cx = GetSystemMetrics( SM_CXVIRTUALSCREEN ); in test_GetSystemMetrics()
2862 screen.cy = GetSystemMetrics( SM_CYVIRTUALSCREEN ); in test_GetSystemMetrics()
2865 screen.cx = GetSystemMetrics( SM_CXSCREEN ); in test_GetSystemMetrics()
2866 screen.cy = GetSystemMetrics( SM_CYSCREEN ); in test_GetSystemMetrics()
2868 ok_gsm_3( SM_CXMAXTRACK, screen.cx + 4 + 2 * GetSystemMetrics(SM_CXFRAME), in test_GetSystemMetrics()
2869 screen.cx - 4 + 2 * GetSystemMetrics(SM_CXFRAME), /* Vista */ in test_GetSystemMetrics()
2870 screen.cx + 2 * GetSystemMetrics(SM_CXFRAME)); /* Win8 */ in test_GetSystemMetrics()
2871 ok_gsm_3( SM_CYMAXTRACK, screen.cy + 4 + 2 * GetSystemMetrics(SM_CYFRAME), in test_GetSystemMetrics()
2872 screen.cy - 4 + 2 * GetSystemMetrics(SM_CYFRAME), /* Vista */ in test_GetSystemMetrics()
2873 screen.cy + 2 * GetSystemMetrics(SM_CYFRAME)); /* Win8 */ in test_GetSystemMetrics()
2954 int ret1 = GetSystemMetrics( i ); in test_metrics_for_dpi()
3243 SetRect( &rect, 0, 0, GetSystemMetrics( SM_CXSCREEN ), GetSystemMetrics( SM_CYSCREEN )); in test_dpi_mapping()
3246 …SetRect( &rect, 0, 0, GetSystemMetrics( SM_CXVIRTUALSCREEN ), GetSystemMetrics( SM_CYVIRTUALSCREEN… in test_dpi_mapping()