FillRoundRectangle Background paint problem

When using FillRoundRectangle to draw an oval rectangle for a selected item in a DesktopListbox, the area outside the set corner value reverts to the system’s backgroundcolor which ruins the entire effect if the control’s background color is set to custom.

Any advice?


Use ClearRectangle first.

1 Like