I have a CFolderDialog and I want to set some text for it. I’ve tried derivating another class from it and set the text at initialization but it does not seem to work. Here’s the sample:
class BackupLocationDialog : public CFolderDialog
{
public:
void BackupLocationDialog::OnInitialized()
{
BackupLocationDialog::SetStatusText(_T("A HORSE"));
}
};
Unfortunately it doesn’t seem to work. Any ideas ?
Here is good example CFolderDialog – Selecting Folders, you can find here how to set text. Just download Source code open FolderDlg.cpp and I hope you will find answer.
Pay attention on this part of code in FolderDlg.cpp file: