IOleObjectImpl::DoVerbPrimary

HRESULT DoVerbPrimary( LPCRECT prcPosRect, HWND hwndParent );

Return Value

One of the standard HRESULT values.

Parameters

prcPosRec

[in] Pointer to the rectangle the container wants the control to draw into.

hwndParent

[in] Handle of the window containing the control.

Remarks

Defines the action taken when the user double-clicks the control. By default, set to display the property pages. You can override this in your control class to invoke a different behavior on double-click; for example, play a video or go in-place active.

IOleObjectImpl OverviewClass Members

See Also   CComControl::DoVerbProperties