|
-
August 3rd, 2009, 05:35 AM
#3
Re: CFileDialog SaveAs derfault file name problem
CFileDialog writeDialog2(FALSE, "bmp", "123.45", OFN_EXPLORER|OFN_OVERWRITEPROMPT|OFN_HIDEREADONLY|OFN_NOREADONLYRETURN| OFN_NOCHANGEDIR,
"BMP (*.bmp)|*.bmp|JPG (*.jpg)|*.jpg|", AfxGetMainWnd());
if(writeDialog2.DoModal() == IDOK)
{
CString extstr = writeDialog2.GetFileExt();
CString ttt2 = writeDialog2.GetPathName();
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|