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.
HRESULT DoVerbPrimary( LPCRECT prcPosRect, HWND hwndParent );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
IOleObjectImpl Overview, IOleObjectImpl Methods, CComControl::DoVerbProperties