CToolBarCtrl::GetDropTarget

检索工具栏控件的 IDropTarget 接口。

HRESULT GetDropTarget(
   IDropTarget** ppDropTarget 
) const;

参数

  • ppDropTarget
    IDropTarget 接口指针的指针。 如果发生错误,NULL 指针放置在该地址中。

返回值

返回一个操作的成功或失败 HRESULT 值。

备注

此成员函数实现Win32消息 TB_GETOBJECT的行为,如 Windows SDK所述。

要求

Header: afxcmn.h

请参见

参考

CToolBarCtrl选件类

层次结构图