A search of the registry (regedt32, Edit, Find) yields no matches on
either lpstrFile or lpstrInitialDir - what am I missing here?
I would also like to change the default type of file saved from bitmap
to jpeg for Paint.
TIA.
-S-
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/XP:
1.. If lpstrFile contains a path, that path is the initial directory.
2.. Otherwise, lpstrInitialDir specifies the initial directory.
3.. 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 is discarded.
4.. If lpstrInitialDir is NULL and the current directory contains any
files of the specified filter types, the initial directory is the
current directory.
5.. Otherwise, the initial directory is the personal files directory
of the current user.
6.. Otherwise, the initial directory is the Desktop folder.
Windows 98/Me:
1.. lpstrInitialDir specifies the initial directory.
2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
path is the initial directory.
3.. Otherwise, if the current directory contains any files of the
specified filter types, the initial directory is the current directory.
4.. Otherwise, the initial directory is the personal files directory
of the current user.
Earlier versions of Windows and Windows NT:
1.. lpstrInitialDir specifies the initial directory.
2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
path is the initial directory.
3.. Otherwise, the initial directory is the current directory.