ICommDlgBrowser::OnStateChangeICommDlgBrowser::OnStateChange*
*Contents  *Index  *Topic Contents
*Previous Topic: ICommDlgBrowser::OnDefaultCommand
*Next Topic: IContextMenu

ICommDlgBrowser::OnStateChange


HRESULT OnStateChange(
    IShellView * ppshv,
    ULONG uChange
   );

Called after a state, identified by the uChange parameter, has changed in the IShellView interface.

ppshv
IShellFolder interface address of the view.
uChange
Change in the selection state. This parameter can be one of the following values:
CDBOSC_SETFOCUS The focus has been set to the view.
CDBOSC_KILLFOCUS The view has lost the focus.
CDBOSC_SELCHANGE The selection has changed.
CDBOSC_RENAME An item has been renamed.

This method is used to let the common file dialogs track the state of the view and change its user interface as needed.

Notes to Callers

When items in the view are selected, or when the view loses the focus, it needs to call this method to notify the common dialog that either the view state or selection state is changing.

See also ICommDlgBrowser


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.