TBN_GETOBJECTTBN_GETOBJECT*
*Contents  *Index  *Topic Contents
*Previous Topic: TBN_GETDISPINFO
*Next Topic: TBN_HOTITEMCHANGE

TBN_GETOBJECT


TBN_GETOBJECT
    lpnmon = (LPNMOBJECTNOTIFY) lParam;

Sent by a toolbar control that uses the TBSTYLE_REGISTERDROP style to request a drop target object when the pointer passes over one of its buttons.

lpnmon
Address of an NMOBJECTNOTIFY structure that contains information about the button that the pointer passed over and receives data the application provides in response to this message.

To provide an object, an application must set values in some members of the NMOBJECTNOTIFY structure at lpnmon. The pObject member must be set to a valid object pointer, and the hResult member must be set to a success flag. To comply with Component Object Model (COM) standards, always increment the object's reference count when providing an object pointer.

If an application does not provide an object, it must set pObject to NULL and hResult to a failure flag.

Version 4.71


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