BFFM_SETSELECTION (Windows CE 5.0)
This message selects the specified folder in the Browse For Folder dialog box.
Syntax
BFFM_SETSELECTIONwParam = (WPARAM)fPath;lParam = (LPARAM)pFolder;
Parameters
- wParam
Indicates whether the lParam parameter contains a pointer to an ITEMIDLIST structure (PIDL) for the folder or a path to the folder. TRUE indicates lParam contains a path to the folder. FALSE indicates that lParam contains a PIDL for the folder. - lParam
Indicates the folder to select in the dialog box. If wParam is TRUE, set lParam to the PIDL for the folder. If wParam is FALSE, set lParam to a pointer to a NULL-terminated string that contains the path for the folder.
Return Values
None.
Remarks
You can send this message from within your implementation of the BrowseCallbackProc function.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Shlobj.h.
See Also
Standard Shell Messages | BrowseCallbackProc | ITEMIDLIST
Send Feedback on this topic to the authors