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

Creates a new item under the currently displayed folder.

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.