使用对话框来进行文件夹路径选择SHBrowseForFolder.docVIP

  • 8
  • 0
  • 约3.58千字
  • 约 7页
  • 2017-02-28 发布于湖北
  • 举报

使用对话框来进行文件夹路径选择SHBrowseForFolder.doc

使用SHBrowseForFolder函数 函数作用:使用对话框来进行文件路径选择。 函数声明 PIDLIST_ABSOLUTE SHBrowseForFolder(LPBROWSEINFO lpbi); 参数?lpbi lpbi? [in] A pointer to a BROWSEINFO structure. [在]一个指针为BROWSEINFO结构。? Conveys information used to display the dialog box.传达信息,用来显示该对话框。 返回值? Returns a pointer to an item identifier list (PIDL) that specifies the location of the selected? folder relative to the root of the namespace. 返回的是一个指针,一个项目标识符列表(?PIDL?),指定的位置选定的文件夹相对的根命名空间。 If the user chooses the Cancel button in the dialog box, the return value is NULL. 如果用户选择取消按钮的对话框中,返回值为NULL?。 It is possible that the PIDL returned is that

文档评论(0)

1亿VIP精品文档

相关文档