CDM_SETDEFEXT (Compact 2013)
3/28/2014
This message sets the default filename extension for an Explorer-style Open or Save As common dialog box. The dialog box must have been created with the OFN_EXPLORER flag; otherwise, the message fails.
Syntax
CDM_SETDEFEXT wParam = 0;
lParam = (LPARAM) (LPSTR) pszext;
Parameters
- wParam
Not used.
- pszext
Pointer to the null-terminated string that contains the new file name extension. Must not include a period (.).
Return Value
None.
Requirements
Header |
winuser.h |
See Also
Reference
Common Dialog Boxes Messages
GetOpenFileName
GetSaveFileName
OPENFILENAME