Aim\ To make a ruler for application program in software development. Methods Based on the CControlBar class of MFC(Microsoft Foundation Classes)
a ruler class is created
which is completed with VC++6.0. Results\ A ruler is implemented in a MDI(Multiple Document Interface) program in the Windows 98 system. Conclusion\ The result indicates that the interface is wonderful and useful
and the ruler class can be used directly or modified slightly in the application software which needs a ruler.