18 references to GetSystemMetrics
UIAutomationClientsideProviders (18)
MS\Internal\AutomationProxies\CommonGetThemePartSize.cs (8)
73
size.cx = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE);
74
size.cy = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE);
78
size.cx = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXVSCROLL);
79
size.cy = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CYHSCROLL);
83
size.cx = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXHSCROLL);
84
size.cy = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CYVSCROLL);
91
size.cx = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE);
92
size.cy = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE);
MS\Internal\AutomationProxies\Input.cs (4)
88
int vscreenWidth = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXVIRTUALSCREEN);
89
int vscreenHeight = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CYVIRTUALSCREEN);
90
int vscreenLeft = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_XVIRTUALSCREEN);
91
int vscreenTop = UnsafeNativeMethods.
GetSystemMetrics
( NativeMethods.SM_YVIRTUALSCREEN );
MS\Internal\AutomationProxies\Misc.cs (3)
973
bool mouseSwapped = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_SWAPBUTTON) != 0;
2023
int buttonWidth = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE) - 1;
2024
int buttonHeight = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CYSIZE) - 1;
MS\Internal\AutomationProxies\WindowsListView.cs (2)
450
int xAdjustment = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXBORDER) + UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXFRAME);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
603
int cxBorder = 8 * UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXBORDER);