IShellFolderView::SetRedraw method (shlobj_core.h)

[This method is available through Windows Vista. It might be altered or unavailable in subsequent versions of Windows.]

Allows a view to be redrawn or prevents it from being redrawn.

Syntax

HRESULT SetRedraw(
  BOOL bRedraw
);

Parameters

bRedraw

Type: BOOL

TRUE if the content can be redrawn after a change; FALSE if the content cannot be redrawn after a change.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method sends the WM_SETREDRAW message to the ListView object that the view contains.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h