scrollbar - C# Custom Universal Scroll Bar -


i make custom scrollbar (change color, etc...) can added existing c# controls. examples have found work control designed for.

what thinking is:

public class coloredscrollbar : usercontrol {      private scrollbar scrollbar;      public coloredscrollbar(scrollbar scrollbar){          this.scrollbar = scrollbar;     }     // onpaint     // draw scrollbar same size , location      // scrollbar  } 

so want draw right on top of existing scroll bar. giving custom want.

for work need able pass events throw coloredscrollbar real scroll bar below.

this way coloredscrollbar work every c# control, because uses impended scroll bar moving , calculations.

is possible pass event control below. if can show how? if there better way create universal scroll bar (that can added existing c# controls), love here it.

thanks.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -