Setting the viewport background color interactively - flickering

Hello,

I’ve developed a plug-in that the user has asked to control the background color dynamically through a slider.

Everything is working however when the user changes the background color (which happens dynamically - as tho they are tuning it to suit their display) the lower status bar of rhino (the one with a series of little boxes containing CPlane, x, y, z, Unit and layer etc feedback) flickers.

Is there a way to prevent this flicker?

There may not being, being that the scene must be completely redrawn.

Thanks Dale - Appreciate the clarity!