Specifies an application-defined callback function used with the SHBrowseForFolder function. The browse dialog box calls this function to notify it about events. The BFFCALLBACK type defines a pointer to this callback function.
int BrowseCallbackProc(
|
HWND hwnd, | |
|
UINT uMsg, | |
|
LPARAM lParam, | |
|
LPARAM lpData | |
|
); |
|
BFFM_ENABLEOK |
Enables the OK button if the wParam parameter is nonzero or disables it if wParam is zero. |
|
BFFM_SETSELECTION |
Selects the specified folder. The lParam parameter is the PIDL of the folder to select if wParam is FALSE, or it is the path of the folder otherwise. |
|
BFFM_SETSTATUSTEXT |
Sets the status text to the null-terminated string specified by the lParam parameter. |
|
BFFM_INITIALIZED |
The browse dialog box has finished initializing. lpData is NULL. |
|
BFFM_SELCHANGED |
The selection has changed. lpData is a pointer to the item identifier list for the newly selected folder. |
Returns zero.
See: