Wine devel: Two MFC bugs
Green, Shaun E.
SHAUN.E.GREEN at saic.com
Tue Aug 10 08:49:36 CDT 2004
>This is a known problem. Our edit control does not currently support the
ES_RIGHT style at this time.
Okay, thanks for letting me know.
> The second bug is that when I multi-select files to perform an
> operation on, nothing happens. One selected file works fine, but any
> additional ones cause nothing to happen. Works fine in Windows.
>What control are you using for the multi-select?
ofn.Flags = OFN_ALLOWMULTISELECT | OFN_HIDEREADONLY | OFN_FILEMUSTEXIST |
Here is the dialog code;
szFileName = '\0';
ofn.lStructSize = sizeof (OPENFILENAME);
ofn.hwndOwner = this->m_hWnd;
ofn.hInstance = NULL;
ofn.lpstrFilter = "Fichiers TXT\0*.txt\0\0";
ofn.lpstrFilter = "txt (*.txt)\0*.txt\0\0";
ofn.lpstrCustomFilter = NULL;
ofn.nMaxCustFilter = 0;
ofn.nFilterIndex = 0;
ofn.lpstrFile = szFileName;
ofn.nMaxFile = _MAX_PATH+50000;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 0;
ofn.lpstrInitialDir = pDoc->repertoire;
ofn.lpstrTitle = NULL;
ofn.Flags = OFN_ALLOWMULTISELECT | OFN_HIDEREADONLY |
OFN_FILEMUSTEXIST | OFN_EXPLORER ;
ofn.nFileOffset = 0;
ofn.nFileExtension = 0;
ofn.lpstrDefExt = NULL;
ofn.lCustData = 1L;
ofn.lCustData = 0L;
ofn.lpfnHook = NULL;
ofn.lpTemplateName = NULL;
if (GetOpenFileName (&ofn))
More information about the wine-devel