From b41877e771643883a6c951608c9fc4d5f27a28a0 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 8 Sep 2009 13:03:21 +0000 Subject: [PATCH] Added IsWindowVisible method. --- Source/OpenTK/Platform/Windows/API.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/OpenTK/Platform/Windows/API.cs b/Source/OpenTK/Platform/Windows/API.cs index e525052c..38a6f2a2 100644 --- a/Source/OpenTK/Platform/Windows/API.cs +++ b/Source/OpenTK/Platform/Windows/API.cs @@ -96,8 +96,6 @@ namespace OpenTK.Platform.Windows internal static class Functions { - #region --- Functions --- - #region Window functions #region SetWindowPos @@ -810,6 +808,9 @@ namespace OpenTK.Platform.Windows #endregion + [DllImport("user32.dll")] + public static extern bool IsWindowVisisble(IntPtr intPtr); + #endregion #region Display settings @@ -1384,8 +1385,6 @@ namespace OpenTK.Platform.Windows #endregion #endregion - - #endregion } #region --- Constants ---