DOC: OPENFILENAME lpstrInitialDir Documented Incorrectly (86920)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q86920
3.10
WINDOWS
kbprg kbdocerr
SUMMARY
The lpstrInitialDir member of the OPENFILENAME data structure is documented incorrectly on page 376 of the "Microsoft Windows Software Development Kit: Programmer's Reference, Volume 3: Message, Structures, and Macros" manual for version 3.1.
The description states that if the lpstrFile member of the same structure specifies a valid path, the common dialog box procedure will use the path specified by this string instead of the path specified by lpstrInitialDir. This statement is incorrect; the common dialog box procedure uses the path specified by lpstrInitialDir regardless of the path specified in lpstrFile.
If lpstrInitialDir is set to NULL, the system sets the initial directory to
the current directory.
Modification Type: | Minor | Last Reviewed: | 2/14/2005 |
---|
Keywords: | kb16bitonly kbCmnDlg kbCmnDlgFileO kbdocfix KB86920 |
---|
|