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.

Syntax

HRESULT DoVerbPrimary( LPCRECT prcPosRect, HWND hwndParent );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

IOleObjectImpl Overview, IOleObjectImpl Methods, CComControl::DoVerbProperties