CComDesignerToolbox::HandleValidToolboxObject

STDMETHOD HandleValidToolboxObject (IDataObject *pDataObject, RECT *pRect)

Return Value

A standard HRESULT value.

Parameters

pDataObject

Pointer to object to validate.

pPt

Pointer to a data point to validate (used if this method invoked from IDropTarget).

Remarks

HandleValidToolboxObject provides default handling of a toolbox object. First it checks whether the item is valid, then passes the item on to a user-defined handling method.