I am creating a custom combobox whi开发者_开发百科ch can draw separators. So, I override OnDrawItem() and OnMeasureItem() methods.