I have a winforms app using a trackbar. The BackColor property is available for change, but doing so makes the color of each "tick" almost invisible. I don't see an explicit property to modify the color of the "tick". Is there something I am missing or a way to change the color of the tick?
+2
A:
TrackBar is a wrapper around a native Windows control. Like most native controls, it draws itself using the system colors as selected by the user. You can't change it yourself. Beyond making your own control, there's nothing you can do but pick a contrasting background color. Which typically ought to be the same color as the container. Which typically is a system color as well ("Control").
A consistent look-and-feel between different applications was considered an asset. It arguably is, users like to pick a custom theme and expect programs to change accordingly.
Hans Passant
2010-09-20 15:11:53
Kind of what I thought... Kind of annoying that you are able to change the BackColor and not the Tick color. Thanks
Matt
2010-09-20 15:25:47