Magnifying Glass

Sample Image 1

Sample Image 2 Sample Image 3

Environment: C++ 6.0, NT 4.0 or later, Win95 or later

Magnifying Glass is application that adds icon to system tray. Magnification is activated by clicking of this item. After this program shows magnifying glass in any place of the screen when left mouse button is pressed.

Topics covered in this program:

  • Using mutex in single-instance application.
  • Writing application that adds icon to system tray.
  • Using unvisible TOPMOST window to capture mouse input on the whole screen.
  • Using message crackers from WindowsX.h.
  • Windows graphics (GDI).
Acknowledgements:

Updates

Fixed problems with 1/29/2002 update:

  1. Redrawing problem in Windows 95, 98
  2. Compilation error when SDK is not installed.

Downloads

Download demo project - 31 Kb


Comments

  • Simply outstanding

    Posted by Tomy Jeon on 03/21/2006 06:58pm

    I've found number of magnifiers to make my own. And I bet your work is the simplest but a nice job among all open magnifiers... However, The only problem here is that this program captures whole screen when the program activates its magnifying glass, so backgrounds such as flash animation or animated gif get freezed. This makes your program not interactive one in a view of users.

    Reply
  • V. Good

    Posted by Legacy on 05/24/2002 12:00am

    Originally posted by: Anand Hinge

    The source code does not only serve its purpose to magnify, but it is also one of the best written code that I have seen. Very good. Keep it up. Enjoy Life...

    Reply
  • Selectively enable

    Posted by Legacy on 05/22/2002 12:00am

    Originally posted by: k

    The program's great.
    I want to magnify only certain windows. So, how do I selectively enable the magnifying glass?
    Is there a way to determine which window is beneath the capture window?
    Thanks.

    • DING

      Posted by anjiwen on 06/21/2007 02:31am

      DING

      Reply
    Reply
  • This is great!

    Posted by Legacy on 01/31/2002 12:00am

    Originally posted by: James Lee

    This is really great! It is an alternate MS Magnifier product under Accessory/Accessibility. Does this cause you to make such a program? seems to me it is more useful than its counterpart.

    Reply
  • Congratulations

    Posted by Legacy on 11/20/2001 12:00am

    Originally posted by: Peter Mares

    Well done on this submission. Was especially impressed with the speed and the "round" magnification. Keep up the good work :)

    Peter

    Reply
  • Compile Error C2664

    Posted by Legacy on 11/19/2001 12:00am

    Originally posted by: Hans Wedemeyer

    Tried to compile this, what's wrong !

    MainWindow.cpp(121) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,un
    signed int,long)'
    None of the functions with this name in scope match the target type

    Reply
  • Nice Job

    Posted by Legacy on 11/19/2001 12:00am

    Originally posted by: J. Doolin


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

Top White Papers and Webcasts

  • Relying on outside companies to manage your network and server environments for your business and applications to meet the needs and demands of your users can be stressful. This is especially true as many Managed Hosting organizations fail to meet their service level agreements. Read this Forrester total economic impact report and learn what makes INetU different and how they exceed their customers' managed hosting expectations.

  • Data integrity and ultra-high performance dictate the success and growth of many companies. One of these companies is BridgePay Network Solutions, a recently launched and rapidly growing financial services organization that allows merchants around the world to process millions of daily credit card transactions. Due to the nature of their business, their IT team needed to strike the perfect balance between meeting regulatory-mandated data security measures with the lowest possible levels of latency and …

Most Popular Programming Stories

More for Developers

RSS Feeds

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