This article may be of help - I know it was for me. Enumerate your leaf classes[^] You can have classes registering a name, that you can then use to create them. There's functions to get the list of names, so you could add them to a list control if you liked. From his article:
IMPLEMENT_LEAF_CLASS(CBlueFilter, CBaseFilter, _T("Blue Filter"))
Good luck, Iain.
Iain Clarke appears because CPallini still cares.