Contents Index Topic Contents | ||
Previous Topic: ICommDlgBrowser::IncludeObject Next Topic: ICommDlgBrowser::OnStateChange |
ICommDlgBrowser::OnDefaultCommand
HRESULT OnDefaultCommand( IShellView * ppshv );Called when a user double-clicks in the view or presses the ENTER key.
- Returns NOERROR if successful, or an OLE-defined error code otherwise.
- ppshv
- IShellFolder interface address of the view.
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 Callers
This method allows the default command to be handled by the common dialog box instead of the view.
See also ICommDlgBrowser
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.