This topic has not yet been rated - Rate this topic

ABM_SETSTATE message

Applies to: desktop apps only

Sets the autohide and always-on-top states of the Windows taskbar.

SHAppBarMessage(ABM_SETSTATE, pabd); 

Parameters

pabd

A pointer to an APPBARDATA structure. You must specify the cbSize and hWnd members when sending this message. Data for the desired state is sent in the lParam member using one of the following values.

0

Autohide and always-on-top both off

ABS_ALWAYSONTOP

Always-on-top on, autohide off

ABS_AUTOHIDE

Autohide on, always-on-top off

ABS_AUTOHIDE | ABS_ALWAYSONTOP

Autohide and always-on-top both on

Return value

Always returns TRUE.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Shellapi.h

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

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