views:

462

answers:

2
+1  A: 

I'd built a custom control to do this in both X and Y location, and use two controls.

The control would have to override Paint() and use GDI methods to display the tick marks, it would then capture mouse events and update locations appropriately.

FlySwat
A: 

This is the best article I've found and used on the matter: http://www.codeproject.com/KB/miscctrl/ruler.aspx

dtroy