Share via


BFFM_SETSELECTION (Windows Embedded CE 6.0)

1/6/2010

This message selects the specified folder in the Browse For Folder dialog box.

Syntax

BFFM_SETSELECTION
    wParam = (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 Value

None.

Remarks

You can send this message from within your implementation of the BrowseCallbackProc function.

Requirements

Header shlobj.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Standard Shell Messages
BrowseCallbackProc
ITEMIDLIST