求CFileDialog::SetDefExt的使用说明
来源:百度知道 编辑:UC知道 时间:2024/06/14 11:13:29
最好能给出一段程序的例子!!!!
Call this function to set the default file name extension for an Explorer-style Open or Save As common dialog box.
void SetDefExt(
LPCSTR lpsz
);
Parameters
lpsz
A pointer to a string containing the default extension to use for the dialog box object. This string must not contain a period (.).
Remarks
The dialog box must have been created with the OFN_EXPLORER style; otherwise, the function will fail with an assertion.
Requirements
Header: afxdlgs.h
msdn里没找到?帮不了你了。