ABM_NEW

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

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

Parameters

pabd

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 Values

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

See Also

APPBARDATA