ABM_NEWABM_NEW*
*



Contents  *



Index  *Topic Contents
*Previous Topic: ABM_GETTASKBARPOS
*Next Topic: ABM_QUERYPOS

ABM_NEW

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.

Syntax


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

Parameters

pabd
Address of 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 if the appbar is already registered.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.