Skip to content

Commit

Permalink
Update Window.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed May 27, 2023
1 parent dd18b04 commit c8acd12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WPFDevelopers.Net40/Window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Windows.Input;
using System.Windows.Interop;
using Microsoft.Windows.Shell;
using WPFDevelopers.Helpers;

namespace WPFDevelopers.Net40
{
Expand Down Expand Up @@ -104,7 +105,7 @@ internal class ApiCodes

private IntPtr hWnd;

[DllImport("user32.dll")]
[DllImport(Win32.User32)]
public static extern int SendMessage(IntPtr hWnd, int wMsg, IntPtr wParam, IntPtr lParam);

private IntPtr WindowProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
Expand Down

0 comments on commit c8acd12

Please sign in to comment.