19 lines
361 B
C#
19 lines
361 B
C#
using System;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace LSLEditor.Docking
|
|
{
|
|
internal static class Win32Helper
|
|
{
|
|
public static Control ControlAtPoint(Point pt)
|
|
{
|
|
return Control.FromChildHandle(NativeMethods.WindowFromPoint(pt));
|
|
}
|
|
|
|
public static uint MakeLong(int low, int high)
|
|
{
|
|
return (uint)((high << 16) + low);
|
|
}
|
|
}
|
|
}
|