Contains parameters for the the SHBrowseForFolder function and receives information about the folder selected by the user.
typedef struct _browseinfo {
HWND hwndOwner; // see below
LPCITEMIDLIST pidlRoot; // see below
LPSTR pszDisplayName; // see below
LPCSTR lpszTitle; // see below
UINT ulFlags; // see below
BFFCALLBACK lpfn; // see below
LPARAM lParam; // see below
int iImage; // see below
} BROWSEINFO, *PBROWSEINFO, *LPBROWSEINFO;
|
BIF_BROWSEFORCOMPUTER |
Only returns computers. If the user selects anything other than a computer, the OK button is grayed. |
|
BIF_BROWSEFORPRINTER |
Only returns printers. If the user selects anything other than a printer, the OK button is grayed. |
|
BIF_DONTGOBELOWDOMAIN |
Does not include network folders below the domain level in the tree view control. |
|
BIF_RETURNFSANCESTORS |
Only returns file system ancestors. If the user selects anything other than a file system ancestor, the OK button is grayed. |
|
BIF_RETURNONLYFSDIRS |
Only returns file system directories. If the user selects folders that are not part of the file system, the OK button is grayed. |
|
BIF_STATUSTEXT |
Includes a status area in the dialog box. The callback function can set the status text by sending messages to the dialog box. |
BrowseCallbackProc, ITEMIDLIST, SHBrowseForFolder
See:
Comments: