IOleObjectImpl::DoVerbPrimary

This method 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.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT DoVerbPrimary( LPCRECT prcPosRect, HWND hwndParent );

See Also

CComControl::DoVerbProperties