1 out of 3 rated this helpful Rate this topic

APPBARDATA structure

Contains information about a system appbar message. This structure is used with the SHAppBarMessage function.

Syntax

typedef struct _AppBarData {
  DWORD  cbSize;
  HWND   hWnd;
  UINT   uCallbackMessage;
  UINT   uEdge;
  RECT   rc;
  LPARAM lParam;
} APPBARDATA, *PAPPBARDATA;

Members

cbSize

Type: DWORD

The size of the structure, in bytes.

hWnd

Type: HWND

The handle to the appbar window.

uCallbackMessage

Type: UINT

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.

uEdge

Type: UINT

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.

rc

Type: RECT

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.

lParam

Type: LPARAM

A message-dependent value. This member is used with the ABM_SETAUTOHIDEBAR and ABM_SETSTATE messages.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Shellapi.h

 

 

Send comments about this topic to Microsoft

Build date: 9/7/2011

Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ