Level Manager source code

Does anybody know if the source code of the Level Manager (or snippets from it) is available? I like the way that the colorpicker, linestyle dropdown list, etc, are part of the listbox and I'd like to do something like that myself. If anybody has clues or examples, it would be much appreciated.

Jan