UnhideFile method description

UnhideFile method ceases component action for the file object passed as parameter to this method. As the result File object is removed from "hide list" and becomes visible.  

BOOL UnhideFile(
 BSTR strFileName

  strFileName     [in] Null-terminated OLE string that specifies the name of the hiding object, such as file, directory or hiding mask.
Return Values
  UnhideFilemethod returns TRUE if operation was successful and FALSE otherwise.
  "Null-terminated string" term is discussed here. We strongly recommend you to read article Naming file objects before using our ActiveX control.

Code Example

// For instance, we would like to hide Windows Notepad executable file

extern CHideMyFoldersAx m_ctrlHMFAx;


// notepad.exe is successfully unhidden


// Failed to unhide notepad.exe. Your exception code handler here

See also