Click to See Complete Forum and Search --> : How to create a scaling ruler, please help


Changli, Yao
April 29th, 1999, 09:30 AM
I want to add a horizontal ruler and vertical one within my frame, when I draw some graphics. I am not sure of whether it can be
implemented by derived a class from CToolBar. Some friends show any ideas or codes are very appreciated.

Sean Lee
April 29th, 1999, 10:43 PM
See the wordpad sample(ruler.h, ruler.cpp and etc.).
You can find it in VC++ samples(mfc\ole\wordpad).

Good luck to you.