http://bugs.winehq.org/show_bug.cgi?id=5475
------- Additional Comments From ravinderonline@yahoo.com 2006-20-06 23:13 ------- Created an attachment (id=2687) --> (http://bugs.winehq.org/attachment.cgi?id=2687&action=view) This is a sample program(vc++) for playing with file open dialog . When we try to open a folder with .vdb extension, it doesnt go inside that folder and exit incase of windows platform
When we try to open a folder with vdb extension (myfolder.vdb) it doesnt go inside that folder incase of Windows platform but when we use same exe on Linux with the help of wine, it goes inside that folder. We have done some validation in OnFolderChange() function. Incase of wine this isnt invoked.
void CVDBChooserDialog::OnFolderChange() { //AfxMessageBox("Inside OnFolderChange"); TRACE("\n\nOnFolderChange Start"); CComboBox* pCombo = (CComboBox*) GetParent()->GetDlgItem(cmb2); int nPos = pCombo->GetCurSel(); if( nPos != CB_ERR ) { CString szFolder; pCombo->GetLBText(nPos, szFolder); if( szFolder.Right(4).CompareNoCase(strVDB) == 0 ) { AfxMessageBox("Inside Loop"); CDialog* pDialog = (CDialog*) GetParent(); pDialog->EndDialog(IDOK); } } //AfxMessageBox("Inside OnFolderChange"); TRACE("\nOnFolderChange Stop"); }