Exemplo n.º 1
0
        public ShellRightClickContextMenuClass()
        {
            const int SM_CXMENUCHECK = 71;
            const int SM_CYMENUCHECK = 72;

            mBitmapCorrectWidth  = DllImports.GetSystemMetrics(SM_CXMENUCHECK);
            mBitmapCorrectHeight = DllImports.GetSystemMetrics(SM_CYMENUCHECK);
        }
Exemplo n.º 2
0
 public int GetSystemMetrics(SystemMetric metric) => DllImports.GetSystemMetrics(metric);