I want to create a CListBox-derived class, called CPoppableListBox.
When the user selects an item, a new listbox would pop up offering him a choice of strings.
When he selects one, it would replace the original item, and the popped-up choices listbox would be destroyed. Or he could cancel the operation by clicking a second time on the underlying item.
The pop up listbox can be any size, so shouldn't be clipped to anything smaller than the desktop.
Are there any such classes in existence, and if not how do I create one?