ATL Version of Analog Meter Class

Environment: VC6

This is a modification of Mark C. Malburg's very nice Analog Meter Class.

I had occasion to use this but needed it as an ATL component. So, I've rewritten it, removing all MFC references. Once the .DLL is registered, this component can be dropped into a dialog; for example, in the Visual Studio resource editor. The Testmeter demo is a simple dialog-based app to call a few methods on the component and show how to integrate it. I hope this turns out to be useful.


Download demo project - 122 Kb
Download source - 116 Kb


  • Memory Leak

    Posted by bigEfrom84 on 06/29/2004 11:59am

    Added a timer to demo project to rapidly change value of meter. After a minute, control ceases to operate and display of control (the meter itself) goes blank (all white)

    • Details?

      Posted by gerrymurphy on 08/19/2004 09:14am

      Could you provide more details and perhaps a sample of the code changes you made?

  • Errors

    Posted by Legacy on 11/21/2003 12:00am

    Originally posted by: Hans Wedemeyer

    AtlAnalogMeter.dll - 5 error(s)

    • More Details

      Posted by gerrymurphy on 08/19/2004 09:13am

      Could you provide more specific details of the errors? I'm guessing you tried to compile a Unicode configuration?

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As the mobile enterprise marketplace expands and customer needs grow more diverse, Samsung recognizes that solution partners and developers play an essential role by continually innovating to meet their customers' needs. Samsung works to provide these developers and partners with the latest tools and resources needed to create these solutions. Read this program guide to learn how the Samsung Enterprise Alliance Program provides partners and developers with Samsung enterprise software development kits (SDKs) …

  • Lenovo recommends Windows 8 Pro. "I dropped my laptop getting out of the taxi." This probably sounds familiar to most IT professionals. If your employees are traveling, you know their devices are in for a rough go. Whether it's a trip to the conference room or a convention out of town, any time equipment leaves a user's desk it is at risk of being put into harm's way. Stay connected at all times, whether at the office or on the go, with agile, durable, and flexible devices like the Lenovo® …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date