1. Home
  2. Computing & Technology
  3. Delphi Programming

Free Screen Ruler with Delphi Source

By Zarko Gajic, About.com

2 of 3

Developers can freely download the full Screen Ruler source (Delphi for WIN32)

Delphi developers can freely download the full Screen RULER source code (Delphi for WIN32 source).

Screen RULER provides (follow links to learn about the implementation) a transparent window, with no caption/title bar (that can be moved by dragging from inside forms client area) with stay on top option. Screen RULER is a great example of extending a form functionality (by overriding the CreateParams procedure). Position and options are stored to an INI file.

Screen RULER can be extended with new ideas; here are some you can add to the code: form/window skinning, non-rectangular appearance, measurement in other units (inches, picas, points, etc.), screen zooming, docking to other windows, placement in System Tray, fancy popup menu, ruler background color, ticker color, etc.

Feel free and encouraged to add any of the new features to Screen RULER. Send me your version of Screen RULER, I'll be happy to make it available to others here.

If you need any help with the code, be sure to post your questions on the Delphi Programming Forum.

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Source Code Projects
  5. Free Screen Ruler with Delphi Source

©2009 About.com, a part of The New York Times Company.

All rights reserved.