ICommDlgBrowser::OnStateChange method
Called after a state, identified by the uChange parameter, has changed in the IShellView interface.
Syntax
HRESULT OnStateChange( IShellView *ppshv, ULONG uChange );
Parameters
- ppshv
-
Type: IShellView*
A pointer to the view's IShellView interface.
- uChange
-
Type: ULONG
Change in the selection state. This parameter can be one of the following values.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method is used to let the common file dialog boxes track the state of the view and change its user interface as needed.
Note to Calling Applications
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.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also