using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AudioWallpaper.Tools { public static class WindowPositionConstants { /// /// 如果调用线程和拥有窗口的线程附加到不同的输入队列,则系统会将请求发布到拥有窗口的线程。 /// public static readonly uint SWP_ASYNCWINDOWPOS = 0x4000; /// /// 阻止生成 WM_SYNCPAINT 消息。 /// public static readonly uint SWP_DEFERERASE = 0x2000; /// /// 在窗口的类说明中围绕窗口绘制框架。 /// public static readonly uint SWP_DRAWFRAME = 0x0020; /// /// 使用 SetWindowLong 函数应用新框架样式集,并向窗口发送 WM_NCCALCSIZE 消息。 /// public static readonly uint SWP_FRAMECHANGED = 0x0020; /// /// 隐藏窗口。 /// public static readonly uint SWP_HIDEWINDOW = 0x0080; /// /// 不激活窗口。 /// public static readonly uint SWP_NOACTIVATE = 0x0010; /// /// 丢弃工作区的整个内容。 /// public static readonly uint SWP_NOCOPYBITS = 0x0100; /// /// 保留当前位置 (忽略 X 和 Y 参数)。 /// public static readonly uint SWP_NOMOVE = 0x0002; /// /// 不更改所有者窗口在 Z 顺序中的位置。 /// public static readonly uint SWP_NOOWNERZORDER = 0x0200; /// /// 不重绘更改。 /// public static readonly uint SWP_NOREDRAW = 0x0008; /// /// 与 SWP_NOOWNERZORDER 标志相同。 /// public static readonly uint SWP_NOREPOSITION = 0x0200; /// /// 阻止窗口接收 WM_WINDOWPOSCHANGING 消息。 /// public static readonly uint SWP_NOSENDCHANGING = 0x0400; /// /// 保留当前大小 (忽略 cx 和 cy 参数)。 /// public static readonly uint SWP_NOSIZE = 0x0001; /// /// 保留当前 Z 顺序 (忽略 hWndInsertAfter 参数)。 /// public static readonly uint SWP_NOZORDER = 0x0004; /// /// 显示窗口。 /// public static readonly uint SWP_SHOWWINDOW = 0x0040; } }