CFolderPickerDialog can't be inherited
-
Hi, I am just to trying to customize folder selection dialog by deriving a class from CFolderPickerDialog in VS2012. But VS2012 Wizard does not provide the option to add class with base class from CFolderPickerDialog. The base class list in Add Class wizard does not contain this class CFolderPickerDialog. Any idea why this base class is missing? Also i tried manually added a class with CFolderPickerDialog as base class with correct message map related maros, function etc. But still i cannot get WM_TIME event handler, OnInitDialog is getting called in derived class. If anybody having any ides pls let me know. Thanks, Prasanth
-
Hi, I am just to trying to customize folder selection dialog by deriving a class from CFolderPickerDialog in VS2012. But VS2012 Wizard does not provide the option to add class with base class from CFolderPickerDialog. The base class list in Add Class wizard does not contain this class CFolderPickerDialog. Any idea why this base class is missing? Also i tried manually added a class with CFolderPickerDialog as base class with correct message map related maros, function etc. But still i cannot get WM_TIME event handler, OnInitDialog is getting called in derived class. If anybody having any ides pls let me know. Thanks, Prasanth
This would be better placed in the C / C++ / MFC forum[^]. There is no class wizard support because the
CFolderPickerDialog
is based on Windows common dialogs which are handled a little bit different. So you must derive your class manually. To get help with your problem you should post the relevant source code parts.