I inherite CFileDialog, and implement it as File Open and File Save.
I change the caption of the "Open" button in function CMyFileDlg::OnNotify this way, I know the Id of the button (it is 1), I get the handle of the button and SetWindowText does the rest:
const int cOpenId = 1;
CWnd *pCcommDlg = GetParent();
hWndControl = FindWindow(pCcommDlg->m_hWnd, _T("Button"), cOpenId) ;
// Set Control's text from OK to Do.
CWnd *aWnd = FromHandle(hWndControl) ;
unfortuanally, it works only in the "File Open" mode, but in "Save as" mode it remains "Save".
does anybody have idea how I can change the caption, without losing its capacities?