To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82083





------- Additional comments from [EMAIL PROTECTED] Wed Dec 19 19:21:18 +0000 
2007 -------
I confirm that this issue occurs on Windows Vista as described.

When the user selects another file type in the file type combobox, the program
sends a CDM_SETDEFEXT message to the dialog to change the default extension. In
Vista, the extension of the previous file type is appended to the file name as a
consequence of that. 

As a workaround you should send a CDM_SETCONTROLTEXT message to the dialog after
the CDM_SETDEFEXT message, providing the filename with the newly selected
extension. This code doesn't cause any harm on pre-Vista Windows. Have been
using it by myself for quite a while:

SendMessage (m_hwndFileOpenDlg, CDM_SETCONTROLTEXT,  edt1,
FilenameWithNewExtenstion);

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to