CWnd::accDoDefaultAction
Visual Studio 2010
Called by the framework to perform the object's default action.
virtual HRESULT accDoDefaultAction( VARIANT varChild );
Returns S_OK on success, a COM error code on failure. See Return Values in IAccessible::accDoDefaultAction in the Windows SDK.
This function is part of MFC's Active Accessibility support.
Override this function in your CWnd-derived class to perform your object's default action. For more information, see IAccessible::accDoDefaultAction in the Windows SDK.