CDM_SETDEFEXT

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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.


CDM_SETDEFEXT wParam = 0; 
    lParam = (LPARAM) (LPSTR) pszext;

wParam

Not used.

pszext

Pointer to the null-terminated string that contains the new file name extension. Must not include a period (.).

Headerwinuser.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Show: