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

  • 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® …

  • Moving from an on-premises environment to Office 365 does not remove the need to plan for disruptions or reduce the business risk requirements for protecting email services. If anything, some risks increase with a move to the cloud. Read how to ease the transition every business faces if considering or already migrating to cloud email. This white paper discusses: Setting expectations when migrating to Office 365 Understanding the implications of relying solely on Exchange Online security Necessary archiving …

Most Popular Programming Stories

More for Developers

RSS Feeds

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