<br />BOOL CFolderDialog::OnInitDialog() <br />{<br /> CFileDialog::OnInitDialog();<br /> GetParent()->;SetWindowText(_T("Select Folder"));<br /> SetControlText(IDOK, _T("OK"));<br /><br /> // Hide the "Save As" static text and list control<br /> // Hide the "File Type" static text and the combobox<br /> HideControl(stc2);<br /> HideControl(stc3);<br /> HideControl(cmb1);<br /> HideControl(edt1);<br /> return TRUE;<br />}<br />
var