http://bugs.winehq.org/show_bug.cgi?id=5475
Summary: Control isnt transferred in the function CFileDialog::OnFolderChange() incase of Customized file open dialog Product: Wine Version: 0.9.13. Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: test AssignedTo: wine-bugs@winehq.org ReportedBy: ravinderonline@yahoo.com
The problem is this: CFileDialog has a built in function called OnFolderChange, that is used to determine whether the user has changed folders in the dialog, whether by double click or what not.. the program i'm working on overrides the CFileDialog class, and includes more code for the OnFolderChange function (and for other functions) for its own purposes. the new OnFolderChange function works perfectly fine in windows, but is completely ignored when using wine - it never even gets called, while the rest of the dialog window retains all of its intended functionality.
Here is the sample code.
class CVDBChooserDialog : public CFileDialog { //other code virtual void OnFolderChange(); virtual void OnFileNameChange(); }
void CVDBChooserDialog::OnFolderChange() { //AfxMessageBox("Inside OnFolderChange"); TRACE("\n\nOnFolderChange Start"); //my desired code is written here but control isnt coming in this function in case of wine. }