wxSlider - Hiding the focus rectangle

Eric J Anderson lordmaiku at gmail.com
Sun Apr 8 16:55:40 PDT 2007


Vadim Zeitlin wrote:
> On Sun, 08 Apr 2007 11:36:21 -0400 Eric J Anderson <lordmaiku at gmail.com> wrote:
>
> EJA> I have a horizontal wxSlider in a panel. The slider works, but on 
> EJA> Windows (at least) there is a distracting 'focus rectangle' drawn around 
> EJA> the slider. I'd like to hide it somehow.
>
>  I believe the focus rectangle does indicate exactly what you say, i.e.
> that the control has focus. I don't know why it doesn't always appear in
> your case but it should. Anyhow, the main point is that this is how this
> control is supposed to behave and I don't think it would be wise to try to
> change it.
>
>  Regards,
> VZ
>
>   
I understand that this is the 'correct' behavior. I would like to remove 
or bypass it for aesthetic reasons, if possible.

-- 
Eric J. Anderson





More information about the wx-users mailing list