PDA

View Full Version : colored box in a listbox_ctl question



Doctor49152
03-01-2009, 11:42 PM
I had asked this question over on the lw-plugin list but no one seemed to know.

I have a LISTBOX_CTL and I want to add colored squares before the text. I've seen it done in other controls (Display Prefs -> Composition Overlay Color) and in other plugins (the amazing Jovian plugin that was just released).

I imagine the icon being displayed is the same one thats used for the 'Shaded Solid' model display menu.

I don't know what the code is for that, or how to set it to a particular color.

Any ideas?