Windows MFC/C++ Crumbbar Controller
MFC Controller to shows items in a field that is clickable. Can be a path or other items needed to be shown in a Crumbbar way
Can easily be inherited to customize style and usage
v1.5 2019-11-05
Published on GitHub
v1.5 2012-05-03
The in-place edit controller caused a crash if it lost focus before it was completely created.
v1.4 2011-02-25
Added CRect MZCrumbBar::GetItemRect (CrumbBarItem* pItemChosen) - Provided by Iain Clarke
v1.3 2010-11-13
Added flag CRU_DONOTSTRIPDELIMITER that will keep the double delimiter.
Double delimiter are use to tell MZCrumbarCtrl that it should not break a path when it sees a delimiter.
eg "Main-Sub-Sub--Menu" -> last item is normal shown as "Sub-Menu" but with this flag
it is shown as "Sub--Menu" since the double delimiter is not stripped
or for example "\Server\Share\Folder" -> first item will now be shown as "\Server" and not as "\Server"
v1.2 2010-04-15
- Added improvements/fixes provided by Iain Clarke
- 3 more BuildCrumbbar(...) function for special situations.
- Refactored how a path is parsed.
- Added CRU_LASTITEMNODELIMITER. If style is set the Delimiter will not be shown for last crumbbar item.
- Style can now be set using styleEx.
- Change Default hot color to COLOR_HOTLIGHT
- Added possibility to store custom data in a Crumbbar item.
- Added SetItemData/GetItemData of custom data to crumbbar items.
- Fixed so that if double delimiter now works again. Double delimiter should be part of the crumbpath name, not a splitter.
- Change so that items are added to m_vCrumbItems via the virtual function AddCrumbItem(...)
- Fixed so that empty path parts are not added to the path.
v1.1 2010-03-17
First Public Version (Publish on CodePoject), Fixed minor draw issue
v1.0 2009-10-10
First Version