TB_GETOBJECT message

Retrieves the IDropTarget for a toolbar control.

Parameters

wParam

Identifier of the interface being requested. This value must point to IID_IDropTarget.

lParam

Address that receives the interface pointer. If an error occurs, a NULL pointer is placed in this address.

Return value

Returns an HRESULT value indicating success or failure of the operation.

Remarks

The toolbar's IDropTarget is used by the toolbar when objects are dragged over or dropped onto it.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h