HexEdit/Explorer.cpp
void CExplorerWnd::update_types()
{
	SHCONTF flags = SHCONTF_FOLDERS;

	if (show_hidden > 0)
		flags |= SHCONTF_INCLUDEHIDDEN;

#if _MFC_VER >= 0x0A00
	// Note that the SHCONTF_INCLUDESUPERHIDDEN option has no effect if the Windows Explorer option
	// "Hide protected (operating system) files (Recommended)" is off since HIDDEN files are already shown
	if (theApp.is_win7_ && show_hidden > 1)
		flags |= SHCONTF_INCLUDESUPERHIDDEN;
#endif

	tree_.SetFlags(flags);
	list_.SetItemTypes(flags | SHCONTF_NONFOLDERS);
}
// This function changes the types of objects display in the tree and the list
// both: always show folders
// list: also shows non-folders (ie files)
// show_hidden says whether hidden and system files are shown

This function changes the types of objects display in the tree and the list
both: always show folders
list: also shows non-folders
show_hidden says whether hidden and system files are shown
This function changes the types of objects display in the tree and the list both : always show folders list : also shows non - folders show_hidden says whether hidden and system files are shown
void CExplorerWnd::update_types()
{
	SHCONTF flags = SHCONTF_FOLDERS;
	if (show_hidden > 0)
		flags |= SHCONTF_INCLUDEHIDDEN;
#if _MFC_VER >= 0x0A00
	if (theApp.is_win7_ && show_hidden > 1)
		flags |= SHCONTF_INCLUDESUPERHIDDEN;
#endif
	tree_.SetFlags(flags);
	list_.SetItemTypes(flags | SHCONTF_NONFOLDERS);
}
void CExplorerWnd :: update_types ( ) { SHCONTF flags = SHCONTF_FOLDERS ; if ( show_hidden > 0 ) flags |= SHCONTF_INCLUDEHIDDEN ; #if _MFC_VER >= 0x0A00 if ( theApp . is_win7_ && show_hidden > 1 ) flags |= SHCONTF_INCLUDESUPERHIDDEN ; #endif tree_ . SetFlags ( flags ) ; list_ . SetItemTypes ( flags | SHCONTF_NONFOLDERS ) ; }
This function changes the types of objects display in the tree and the list
both: always show folders
list: also shows non-folders (ie files)
show_hidden says whether hidden and system files are shown
This function changes the types of objects display in the tree and the list both : always show folders list : also shows non - folders ( ie files ) show_hidden says whether hidden and system files are shown
// Note that the SHCONTF_INCLUDESUPERHIDDEN option has no effect if the Windows Explorer option
 // "Hide protected (operating system) files (Recommended)" is off since HIDDEN files are already shown
