You could also use a TextBufferControl, AddMessage() the filter options colored depending on if they are enabled or disabled and check via OnMouseDown() the coordinates to calculate which line was clicked to change the state. GetDimensions() the control and divide by entries, then you have nearly the height per line, there might be a little correction value necessary.
|