Help Center

CToolbar.GetObjectmethod

Retrieves the IDropTarget for a toolbar control.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION GetObject (BYVAL hToolbar AS HWND) AS IDropTarget PTR

Parameters

NameDescription
hToolbarHandle to the toolbar control.

Description

Retrieves a pointer to the IDropTarget interface for a toolbar control.

Remarks

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

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:1302
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class