Page 1 of 1
Is there a way to disable the higlighting effect on a wxBitmapButton? [wxWidgets 3.1.3]
Posted: Sat Mar 21, 2020 8:24 am
by var_null
Hello, Is there a way to disable the blue highlighting effect on a wxBitmapButton when the cursor hovers over it and also when it is clicked?
Thanks
Re: Is there a way to disable the higlighting effect on a wxBitmapButton? [wxWidgets 3.1.3]
Posted: Sat Mar 21, 2020 2:55 pm
by er2joe
Just looking at the documentation for wxButton, it looks like you could override the different bitmaps with a single one.
Might be a better way, but that would work.
Re: Is there a way to disable the blue higlighting effect on a wxBitmapButton? [wxWidgets 3.1.3]
Posted: Sat Mar 21, 2020 7:04 pm
by var_null
That would be the bitmap, I'm referring to the blue highlighting effect
Re: Is there a way to disable the higlighting effect on a wxBitmapButton? [wxWidgets 3.1.3]
Posted: Sat Mar 21, 2020 7:58 pm
by PB
At least on MSW, that is the Windows telling the user the control is a highlighted button.
You can remove this by creating the button with wxBORDER_NONE but I am not that is the best idea from the point of user experience.
Re: Is there a way to disable the higlighting effect on a wxBitmapButton? [wxWidgets 3.1.3]
Posted: Sun Mar 22, 2020 4:30 am
by ONEEYEMAN
Hi,
Are you setting the button to be default?
Thank you.