Delen via


CMFCShellTreeCtrl::SetFlags

Sets flags to filter the tree context.

void SetFlags(
   DWORD dwFlags,
   BOOL bRefresh = TRUE 
);

Parameters

  • [in] dwFlags
    The flags to set.

  • [in] bRefresh
    A Boolean that specifies whether the CMFCShellTreeCtrl Class should be refreshed immediately.

Remarks

The CMFCShellTreeCtrl passes all set flags to IShellFolder::EnumObjects. For more information about the values of different flags, see IShellFolder::EnumObjects.

Requirements

Header: afxshelltreectrl.h

See Also

Reference

CMFCShellTreeCtrl Class

Hierarchy Chart