ICommDlgBrowser::OnDefaultCommand

[Now Supported on Windows NT]

OnDefaultCommand is called when a user double-clicks in the view or presses the ENTER key.

HRESULT OnDefaultCommand( )

This method has no parameters.

Return Values

Returns NOERROR if successful or an OLE-defined error code 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.

Notes to Callers

Allows the default command to be handled by the common dialog box instead of the view.

See Also

ICommDlgBrowser