We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

CFileFind::IsHidden

Call this member function to determine if the found file is hidden.

BOOL IsHidden( ) const;

Nonzero if successful; otherwise 0.

Hidden files, which are marked with FILE_ATTRIBUTE_HIDDEN, a file attribute identified in the WIN32_FIND_DATA structure. A hidden file is not included in an ordinary directory listing.

You must call FindNextFile at least once before calling IsHidden.

See the member function MatchesMask for a complete list of file attributes.

See the example for CFileFind::GetLength.

Header: afx.h

Show: