The information in this article applies to:
SUMMARYOn the Macintosh, to list all files, you must use "****" as the filter string (lpstrFilter) for the open file dialog box (GetOpenFileName). MORE INFORMATIONGetOpenFileName uses the lpstrFilter field of the OPENFILENAME structure to specify file filters. It points to a list of string pairs, separated by null characters. Each pair contains the display string and the filter pattern. On the Intel platform, a filter string of "*.*" specifies all files. The Windows Portability Library (WPL) uses "****", instead. Below is an MFC-based example:
REFERENCES(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Adam Kim, Microsoft Corporation. Additional query words: OPENFILENAME lpstrFilter GetOpenFileName
Keywords : kbMAC kbVC kbDSupport MacPrgIss |
Last Reviewed: December 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |