NewsArchive
06-23-2009, 02:58 AM
Hi Friedrich,
there was a thread about file mask in the "browse for file"-function in
2007.
http://www.lindersoft.com/forums/showthread.php?t=5779&highlight=file+mask
I really need this function too. I can't believe, that this is not possible:
http://msdn.microsoft.com/en-us/library/ms646960(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms646839.aspx
lpstrFilter
Pointer to a buffer containing pairs of null-terminated filter strings.
The last string in the buffer must be terminated by two NULL characters.
The first string in each pair is a display string that describes the
filter (for example, "Text Files"), and the second string specifies the
filter pattern (for example, "*.TXT"). To specify multiple filter
patterns for a single display string, use a semicolon to separate the
patterns (for example, "*.TXT;*.DOC;*.BAK"). A pattern string can be a
combination of valid file name characters and the asterisk (*) wildcard
character. Do not include spaces in the pattern string.
Markus
there was a thread about file mask in the "browse for file"-function in
2007.
http://www.lindersoft.com/forums/showthread.php?t=5779&highlight=file+mask
I really need this function too. I can't believe, that this is not possible:
http://msdn.microsoft.com/en-us/library/ms646960(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms646839.aspx
lpstrFilter
Pointer to a buffer containing pairs of null-terminated filter strings.
The last string in the buffer must be terminated by two NULL characters.
The first string in each pair is a display string that describes the
filter (for example, "Text Files"), and the second string specifies the
filter pattern (for example, "*.TXT"). To specify multiple filter
patterns for a single display string, use a semicolon to separate the
patterns (for example, "*.TXT;*.DOC;*.BAK"). A pattern string can be a
combination of valid file name characters and the asterisk (*) wildcard
character. Do not include spaces in the pattern string.
Markus