[Bug 344] Changed - File Dialog Issues: incorrect initial dir, filename lost when chdir, crashes

wine-bugs at winehq.com wine-bugs at winehq.com
Sun May 5 05:22:48 CDT 2002


http://bugs.winehq.com/show_bug.cgi?id=344

*** shadow/344	Sun May  5 05:21:33 2002
--- shadow/344.tmp.20300	Sun May  5 05:22:48 2002
***************
*** 48,50 ****
--- 48,99 ----
  ------- Additional Comments From us at the-edmeades.demon.co.uk  2002-05-05 05:21 -------
  Created an attachment (id=80)
  Simple C pgm which can be used to recreate problem(s)
+ 
+ 
+ ------- Additional Comments From us at the-edmeades.demon.co.uk  2002-05-05 05:22 -------
+ From MSDN: (I don't know how closely wine wants to follow this)
+ 
+ lpstrInitialDir 
+ ---------------
+ Pointer to a null terminated string that can specify the initial directory. 
+ The algorithm for selecting the initial directory varies on different 
+ platforms. 
+ 
+ Windows 2000: 
+ 
+ If lpstrFile contains a path, that path is the initial directory. 
+ Otherwise, lpstrInitialDir specifies the initial directory. 
+ 
+ If lpstrInitialDir is NULL and the current directory contains any 
+    files of the specified filter types, the initial directory is the current 
+    directory. 
+    
+ Otherwise, if the application has used an Open or Save As dialog box in the 
+    past, the path most recently used is selected as the initial directory. 
+    
+ However, if an application is not run for a long time, its saved selected 
+    path will be discarded. 
+    
+ Otherwise, the initial directory is the personal files directory of the 
+    current user. 
+    
+ Otherwise, the initial directory is the Desktop folder. 
+ 
+ 
+ Windows 98: 
+ 
+ lpstrInitialDir specifies the initial directory. 
+ If lpstrInitialDir is NULL and lpstrFile contains a path, that path is the 
+      initial directory. 
+ Otherwise, if the current directory contains any files of the specified 
+      filter types, the initial directory is the current directory. 
+ Otherwise, the initial directory is the personal files directory of the 
+      current user. 
+      
+ 
+ Earlier versions of Windows and Windows NT/ 2000: 
+ 
+ lpstrInitialDir specifies the initial directory. 
+ If lpstrInitialDir is NULL and lpstrFile contains a path, that path is 
+      the initial directory. 
+ Otherwise, the initial directory is the current directory. 
\ No newline at end of file



More information about the wine-bugs mailing list