Skip to content

Commit 9339f5c

Browse files
committed
Merge branch 'Issue144' of https://github.com/ilya-murzinov/White into Issue144
Conflicts: src/TestStack.White/WindowsAPI/NativeWindow.cs
2 parents abb15d2 + 92d3049 commit 9339f5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/TestStack.White/WindowsAPI/NativeWindow.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ public virtual void PostCloseMessage()
9494
internal static extern bool SetWindowPos(IntPtr hWnd, IntPtr hwndAfter, int x, int y, int width, int height, int flags);
9595
[return: MarshalAs(UnmanagedType.Bool)]
9696

97+
[DllImport("user32.dll", CharSet = CharSet.Auto)]
98+
internal static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong);
9799
[DllImport("user32.dll", CharSet = CharSet.Auto, ExactSpelling = true)]
98100
internal static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
99101

0 commit comments

Comments
 (0)