[StructLayout(LayoutKind.Sequential)]
public struct APPBARDATA
{
/// <summary>
/// The size of the structure, in bytes.
/// </summary>
public int cbSize;
/// <summary>
/// The handle to the appbar window.
/// </summary>
public IntPtr hWnd;
/// <summary>
/// An application-defined message identifier.
/// The application uses the specified identifier for notification messages
/// that it sends to the appbar identified by the hWnd member.
/// This member is used when sending the ABM_NEW message.
/// </summary>
public uint uCallbackMessage;
/// <summary>
/// A value that specifies an edge of the screen.
/// This member is used when sending the ABM_GETAUTOHIDEBAR, ABM_QUERYPOS, ABM_SETAUTOHIDEBAR, and ABM_SETPOS messages.
/// This member can be one of the following values
/// ABE_BOTTOM Bottom edge
/// ABE_LEFT Left edge
/// ABE_RIGHT Right edge
/// ABE_TOP Top edge.
/// </summary>
public uint uEdge;
/// <summary>
/// A RECT structure to contain the bounding rectangle, in screen coordinates, of an appbar or the Windows taskbar.
/// This member is used when sending the ABM_GETTASKBARPOS, ABM_QUERYPOS, and ABM_SETPOS messages.
/// </summary>
public RECT rc;
/// <summary>
/// A message-dependent value. This member is used with the ABM_SETAUTOHIDEBAR and ABM_SETSTATE messages.
/// </summary>
public int lParam;
}
英文注释看的不是太明白,谁大致给解释解释
/ / /结构的大小,以字节为单位。
/ / /</摘要>
///<summary>
/ / / appbar窗口的句柄。
/ / /</摘要>
///<summary>
// /一个应用程序定义的消息标识符。
/ / /应用程序使用的通知消息指定的标识符
/ / /它发送hWnd成员确定的appbar。
/ / /此成员是使用时发送的ABM_NEW消息。
/ / /</摘要>
///<summary>
/ / /一个值,指定在屏幕的边缘。
/ / /此成员ABM_GETAUTOHIDEBAR,ABM_QUERYPOS,ABM_SETAUTOHIDEBAR,和ABM_SETPOS消息发送时使用。
/ / /这个成员可以是下列值之一
/ // ABE_BOTTOM底边
/ / / ABE_LEFT左边缘
/ / / ABE_RIGHT右边缘
/ / / ABE_TOP顶边。
/ / /</摘要>
///<summary>
/ / /一个RECT结构,包含在屏幕坐标的边界矩形,appbar或Windows任务栏上。
/ / /时,该成员用来发送ABM_GETTASKBARPOS,ABM_QUERYPOS ABM_SETPOS消息。
/ / /</摘要>
///<summary>
/ / /一个依赖于消息值。这个成员是用ABM_SETAUTOHIDEBAR ABM_SETSTATE消息。
/ / /</摘要>
将就看..