Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make a custom CFileDialog/CPropertyPage

Status
Not open for further replies.

tomasr

Programmer
Jun 15, 2002
2
DK
Hi there!
I want to make a CPropertyPage (with several sheets) where one of the pages has the CFileDialog as its base class, or where it at least behaves like one.
I have tried many things and as far as I know you can only do this be creating your own CFileDialog class from scratch. This is because MFC doesn't support multiple inheritance.
Is there anybody out there who knows how to build a CFileDialog without using the CommonDialog Library???
Other suggestions are most welcome!!

Best regards

tomasr
 
inherite Your own class from CWnd.
I would easy copy CDialog source code from MFC (and CPropertyPage, if You need it too), change class name (for example, to CMyBetterDialog etc.) an change couple code lines You need.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top