[Bug 5475] Control isnt transferred in the function CFileDialog::OnFolderChange() incase of Customized file open dialog

Wine Bugs wine-bugs at winehq.org
Tue Jun 20 23:13:25 CDT 2006


------- Additional Comments From ravinderonline at 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();
	//AfxMessageBox("Inside OnFolderChange");
	TRACE("\nOnFolderChange Stop");

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list