关于api的问题,高手来呀!

qiuwen777 2001-07-19 07:27:09
有一个api函数 SHBrowseForFolder ,在delphi帮助中找不到,
我只是在MSDN 2001 中找到,不知在delphi如何用,那位高手用过,
mail给我吧。yuke_888@263.net
平时我不能上网,分数以后一定补上。
另:如果用一个api函数,我如何知道要use哪个库,这似乎很重要。
...全文
52 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
xzgyb 2001-07-19
  • 打赏
  • 举报
回复
ShlObj
qiuwen777 2001-07-19
  • 打赏
  • 举报
回复
我实在没有看见,不知道是不是我的delphi没有装好的缘故,
sean717(翔),你看到该函数属于那个头文件了吗?告诉我吧。
等待。
sean717 2001-07-19
  • 打赏
  • 举报
回复
SHBrowseForFolder :
Displays a dialog box that enables the user to select a shell folder.

WINSHELLAPI LPITEMIDLIST WINAPI SHBrowseForFolder(

LPBROWSEINFO lpbi
);


Parameters

lpbi

Pointer to a BROWSEINFO structure that contains information used to display the dialog box.



Return Values

Returns a pointer to an item identifier list that specifies the location of the selected folder relative to the root of the name space. If the user chooses the Cancel button in the dialog box, the return value is NULL.
The calling application is responsible for freeing the returned item identifier list using the shell's task allocator.

以上帮助Copy自Delphi5自带的Api帮助文件,怎么会没有呢?

Displays a dialog box that enables the user to select a shell folder.
从字面上看,功能是显示一个对话框让用户选择一个文件夹。

另:在DELPHI代码编辑框中按住Ctrl键同时用鼠标单击API函数名即可打开相应的头文件
:)

1,183

社区成员

发帖
与我相关
我的任务
社区描述
Delphi Windows SDK/API
社区管理员
  • Windows SDK/API社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧