ICommDlgBrowser3::OnDefaultCommand Method

Called when a user double-clicks in the view or presses the ENTER key.

Syntax

HRESULT OnDefaultCommand(      
    IShellView *ppshv
);

Parameters

  • ppshv
    A pointer to the view's IShellView interface.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The browser should return S_OK if it has processed the action or S_FALSE to let the view perform the default action.

Note to Calling Applications

This method allows the default command to be handled by the common dialog box instead of the view.

See Also

ICommDlgBrowser