18 references to GetSystemMetrics
UIAutomationClientSideProviders (18)
MS\Internal\AutomationProxies\CommonGetThemePartSize.cs (8)
72
size.cx = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE);
73
size.cy = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE);
77
size.cx = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXVSCROLL);
78
size.cy = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CYHSCROLL);
82
size.cx = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXHSCROLL);
83
size.cy = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CYVSCROLL);
90
size.cx = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE);
91
size.cy = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE);
MS\Internal\AutomationProxies\Input.cs (4)
78
int vscreenWidth = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXVIRTUALSCREEN);
79
int vscreenHeight = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CYVIRTUALSCREEN);
80
int vscreenLeft = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_XVIRTUALSCREEN);
81
int vscreenTop = UnsafeNativeMethods.
GetSystemMetrics
( NativeMethods.SM_YVIRTUALSCREEN );
MS\Internal\AutomationProxies\Misc.cs (3)
953
bool mouseSwapped = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_SWAPBUTTON) != 0;
1989
int buttonWidth = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXSIZE) - 1;
1990
int buttonHeight = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CYSIZE) - 1;
MS\Internal\AutomationProxies\WindowsListView.cs (2)
436
int xAdjustment = UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXBORDER) + UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXFRAME);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
584
int cxBorder = 8 * UnsafeNativeMethods.
GetSystemMetrics
(NativeMethods.SM_CXBORDER);