Start using IFileDialogEvents to get notifications about changes

For now only update the currently selected file type using this
interface, but it will be used for more notifications later.
This commit is contained in:
Vadim Zeitlin 2022-05-25 18:06:53 +01:00
parent a341efec34
commit 0a1714b709
2 changed files with 95 additions and 3 deletions

View file

@ -57,7 +57,7 @@ private:
// called from the hook procedure on CDN_SELCHANGE.
void MSWOnSelChange(WXHWND hDlg);
// called from the hook procedure on CDN_TYPECHANGE.
// called when the currently selected type of files changes in the dialog
void MSWOnTypeChange(int nFilterIndex);
// The real implementation of ShowModal() using traditional common dialog