03-21-2015, 03:19 PM
defExt is used for when a user types a file name but forgets to put the extension type and clicks the open button or save button if you are using the save mode
lpstrDefExt
Type: LPCTSTR
The default extension. GetOpenFileName and GetSaveFileName append this extension to the file name if the user fails to type an extension. This string can be any length, but only the first three characters are appended. The string should not contain a period (.). If this member is NULL and the user fails to type an extension, no extension is appended.
Function Function1
for more info
https://msdn.microsoft.com/en-us/library...85%29.aspx
lpstrDefExt
Type: LPCTSTR
The default extension. GetOpenFileName and GetSaveFileName append this extension to the file name if the user fails to type an extension. This string can be any length, but only the first three characters are appended. The string should not contain a period (.). If this member is NULL and the user fails to type an extension, no extension is appended.
Function Function1
for more info
https://msdn.microsoft.com/en-us/library...85%29.aspx
