Insert or embed File Dialog in a CPropertyPage
-
I'm trying to see if I can embed a CFileDialog to a CPropertyPage. I stumbled on this question with a minimalist answer (I've asked there also) : [Re: CFileDialog in CPropertySheet - C / C++ / MFC Discussion Boards](https://www.codeproject.com/Messages/1189384/Re-CFileDialog-in-CPropertySheet) The id IDD_FILEOPEN_EX does not exists, can I replace it with AFX_IDD_FILEOPEN ? (there's not seems to be a IDD_FILEOPEN id ). also, If I need to include dlgs.h to have access to the id stc32, do I need to include an additional RC file somewhere. Or, is there a more modern way of doing this ? Thanks.
I'd rather be phishing!
-
I'm trying to see if I can embed a CFileDialog to a CPropertyPage. I stumbled on this question with a minimalist answer (I've asked there also) : [Re: CFileDialog in CPropertySheet - C / C++ / MFC Discussion Boards](https://www.codeproject.com/Messages/1189384/Re-CFileDialog-in-CPropertySheet) The id IDD_FILEOPEN_EX does not exists, can I replace it with AFX_IDD_FILEOPEN ? (there's not seems to be a IDD_FILEOPEN id ). also, If I need to include dlgs.h to have access to the id stc32, do I need to include an additional RC file somewhere. Or, is there a more modern way of doing this ? Thanks.
I'd rather be phishing!
The AFX_IDD_FILEOPEN is defined in afxres.h that is by default #incuded in your resource.h file.