internal static bool IsCheckBoxStateReadable(System.IntPtr hWnd) { switch ((Win32NativeMethods.GetWindowLong(hWnd, WinUserConstant.GWL_STYLE) & ((uint)15))) { case 2: case 3: case 4: case 5: case 6: case 9: return(true); } return(false); }
internal static bool IsWindowDisabled(System.IntPtr hWnd) { return((bool)((Win32NativeMethods.GetWindowLong(hWnd, WinUserConstant.GWL_STYLE) & 0x8000000) == 0x8000000)); }