This topic describes the MagSample code sample, a simple magnifier control that magnifies a portion of the screen. This topic contains the following sections:

  • Description
  • Download Information
  • Minimum Requirements
  • Building the Sample
  • Related topics


The MagSample code sample creates a simple control that uses the Magnification API to magnify the screen.

Download Information

The MagSample is installed as part of the Microsoft Windows Software Development Kit (SDK) and is available in the following location.

Location Path/URL
Windows SDK %ProgramFiles%\Microsoft SDKs\Windows\[version number]\Samples\winui\magnification


Minimum Requirements

Product Version
Operating System Windows Vista and later
Microsoft Visual Studio 2005 and later


Building the Sample

  1. Open Windows Explorer and navigate to the project directory.
  2. Double-click the icon for the .vcproj file to open the project in Visual Studio.
  3. On the Build menu, select Build Solution to build the solution.




Send comments about this topic to Microsoft

Build date: 9/7/2011