BCGControlBar Pro for MFC
BOOL CBCGPBreadcrumb::SetItemDynamic ( HBREADCRUMBITEM  hItem,
BOOL  bDynamic = TRUE 
)

Marks the specified item as dynamic.

When the breadcrumb control needs to obtain (display) its children from a dynamic item, it sends the BCCN_DYNAMIC_GETSUBITEMS message to the parent. The parent window should return the list of children as a response to this message.

The child items of dynamic item are freed automatically when no longer needed. This may significantly reduce the memory usage and provide best performance if there is a lot of items in hierarchy.

Parameters
hItemA handle to item.
bDynamicSpecifies whether the item is dynamic (TRUE), or not (FALSE).