Поделиться через


CToolBarCtrl::GetDropTarget

Retrieves the IDropTarget interface for a toolbar control.

HRESULT GetDropTarget(
   IDropTarget** ppDropTarget 
) const;

Параметры

  • ppDropTarget
    A pointer to an IDropTarget interface pointer. If an error occurs, a NULL pointer is placed in this address.

Возвращаемое значение

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

Заметки

This member function implements the behavior of the Win32 message TB_GETOBJECT, as described in the Windows SDK.

Требования

Header: afxcmn.h

См. также

Основные понятия

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart