文件名称:BrowseForFolderU
介绍说明--下载内容均来自于网络,请自行研究使用
If you want to add a "New Folder" button to the above dialog then add the flag BIF_NEWDIALOGSTYLE, e.g.:
browse_info.ulFlags := BIF_RETURNONLYFSDIRS or BIF_NEWDIALOGSTYLE
If you find that the unit shlobj doe not include the necessary definition for BIF_NEWDIALOGSTYLE then you will need to provide your own definition:
const BIF_NEWDIALOGSTYLE=$40
The BIF_NEWDIALOGSTYLE tip was contributed by Santiago Vila (www.dvwiz.com).
I also gratefully acknowledge the help of Martin Birk for suggesting the addition of the line "browse_info.hwndOwner := Application.Handle ". Without that the browse dialog pops up in the corner of the screen, with the line the dialog pops up over the application.
These notes are believed to be correct for Delphi 6 and Delphi 7, and may apply to other versions as well.-If you want to add a "New Folder" button to the above dialog then add the flag BIF_NEWDIALOGSTYLE, e.g.:
browse_info.ulFlags := BIF_RETURNONLYFSDIRS or BIF_NEWDIALOGSTYLE
If you find that the unit shlobj doe not include the necessary definition for BIF_NEWDIALOGSTYLE then you will need to provide your own definition:
const BIF_NEWDIALOGSTYLE=$40
The BIF_NEWDIALOGSTYLE tip was contributed by Santiago Vila (www.dvwiz.com).
I also gratefully acknowledge the help of Martin Birk for suggesting the addition of the line "browse_info.hwndOwner := Application.Handle ". Without that the browse dialog pops up in the corner of the screen, with the line the dialog pops up over the application.
These notes are believed to be correct for Delphi 6 and Delphi 7, and may apply to other versions as well.
browse_info.ulFlags := BIF_RETURNONLYFSDIRS or BIF_NEWDIALOGSTYLE
If you find that the unit shlobj doe not include the necessary definition for BIF_NEWDIALOGSTYLE then you will need to provide your own definition:
const BIF_NEWDIALOGSTYLE=$40
The BIF_NEWDIALOGSTYLE tip was contributed by Santiago Vila (www.dvwiz.com).
I also gratefully acknowledge the help of Martin Birk for suggesting the addition of the line "browse_info.hwndOwner := Application.Handle ". Without that the browse dialog pops up in the corner of the screen, with the line the dialog pops up over the application.
These notes are believed to be correct for Delphi 6 and Delphi 7, and may apply to other versions as well.-If you want to add a "New Folder" button to the above dialog then add the flag BIF_NEWDIALOGSTYLE, e.g.:
browse_info.ulFlags := BIF_RETURNONLYFSDIRS or BIF_NEWDIALOGSTYLE
If you find that the unit shlobj doe not include the necessary definition for BIF_NEWDIALOGSTYLE then you will need to provide your own definition:
const BIF_NEWDIALOGSTYLE=$40
The BIF_NEWDIALOGSTYLE tip was contributed by Santiago Vila (www.dvwiz.com).
I also gratefully acknowledge the help of Martin Birk for suggesting the addition of the line "browse_info.hwndOwner := Application.Handle ". Without that the browse dialog pops up in the corner of the screen, with the line the dialog pops up over the application.
These notes are believed to be correct for Delphi 6 and Delphi 7, and may apply to other versions as well.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BrowseForFolderU.pas