ABM_NEW message

Registers a new appbar and specifies the message identifier that the system should use to send it notification messages. An appbar should send this message before sending any other appbar messages.

fRegistered = (BOOL) SHAppBarMessage(ABM_NEW, pabd); 



A pointer to an APPBARDATA structure that contains the new appbar's window handle and message identifier. You must specify the cbSize, hWnd, and uCallbackMessage members when sending this message; all other members are ignored.

Return value

Returns TRUE if successful, or FALSE if an error occurs or if the appbar is already registered.


Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]