Help Center
Help Center›AfxNova

AfxBrowseForFolderProcfunction

WindowsfunctionAfxWin.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION AfxBrowseForFolderProc (BYVAL hWin AS HWND, BYVAL uMsg AS UINT, BYVAL wPrm AS WPARAM, BYVAL lPrm AS LPARAM) AS LONG

Parameters

NameDescription
pwszTitle= A string value that represents the title displayed inside the Browse dialog box.
pwszStartFolder= The initial folder that the dialog will show.
nFlags= Optional. A LONG value that contains the options for the method. This can be a combination of the values listed under the ulFlags member of the BROWSEINFO structure. See: http://msdn.microsoft.com/en-us/library/windows/desktop/bb773205%28v=vs.85%29.aspx Default value = BIF_RETURNONLYFSDIRS OR BIF_DONTGOBELOWDOMAIN OR BIF_USENEWUI OR BIF_RETURNFSANCESTORS Note: To display the old style dialog, pass -1 in the dwFlags parameter. (Crashes in Windows 10). // Browse for folder dialog procedure

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:884