Widow
/trunk/Widow/Natives.cs |
@@ -7,6 +7,14 @@ |
{ |
public static class Natives |
{ |
#region Static Fields and Constants |
|
public const int HWND_BROADCAST = 0xffff; |
|
public static readonly int WM_SHOWME = RegisterWindowMessage("WM_SHOWME"); |
|
#endregion |
|
#region Public Events & Delegates |
|
public delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam); |
@@ -1589,6 +1597,9 @@ |
|
#region Public Methods |
|
[DllImport("user32")] |
public static extern bool PostMessage(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam); |
|
[DllImport("user32.dll")] |
public static extern IntPtr WindowFromPoint(Point p); |
|