BCGControlBar Pro for MFC
BOOL CBCGPShellTree::CreateFolder ( const CString &  strFolderName,
LPSECURITY_ATTRIBUTES  lpSecurityAttributes = NULL,
BOOL  bSelect = TRUE 
)

Creates a folder under the currently selected item.

Parameters
strFolderNameA new folder name.
lpSecurityAttributesThe security attributes.
bSelectSpecifies whether the folder should be selected or not.
Returns
TRUE if it succeeds, FALSE if it fails.