Struct AppBarData
Contains information about a system appbar message. This is used by the SHAppBarMessage function
Namespace: Dapplo.Windows.Shell32.Structs
Assembly: Dapplo.Windows.Shell32.dll
Syntax
public struct AppBarData
Properties
| Improve this Doc View SourceAppBarEdge
This member is used when sending one of these messages: ABM_GETAUTOHIDEBAR, ABM_SETAUTOHIDEBAR, ABM_GETAUTOHIDEBAREX, ABM_SETAUTOHIDEBAREX, ABM_QUERYPOS, ABM_SETPOS
Declaration
public AppBarEdges AppBarEdge { get; set; }
Property Value
Type | Description |
---|---|
AppBarEdges |
AutoHide
Used for the ABM_SETAUTOHIDEBAR, ABM_SETAUTOHIDEBAREX message
Declaration
public bool AutoHide { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Bounds
A RECT structure whose use varies depending on the message: ABM_GETTASKBARPOS, ABM_QUERYPOS, ABM_SETPOS: The bounding rectangle, in screen coordinates, of an appbar or the Windows taskbar. ABM_GETAUTOHIDEBAREX, ABM_SETAUTOHIDEBAREX: The monitor on which the operation is being performed. This information can be retrieved through the GetMonitorInfo function.
Declaration
public RECT Bounds { get; set; }
Property Value
Type | Description |
---|---|
RECT |
CallbackMessageIdentifier
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.
Declaration
public uint CallbackMessageIdentifier { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
State
Used for the ABM_SETAUTOHIDEBAR, ABM_SETAUTOHIDEBAREX message
Declaration
public AppBarStates State { get; set; }
Property Value
Type | Description |
---|---|
AppBarStates |
Methods
| Improve this Doc View SourceCreate()
Gets the default (empty) value.
Declaration
public static AppBarData Create()
Returns
Type | Description |
---|---|
AppBarData |
SetWindowHandle(IntPtr)
Sets the handle to the appbar window. Not all messages use this member. See the individual message page to see if you need to provide an hWindow value.
Declaration
public void SetWindowHandle(IntPtr hWnd)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | hWnd |