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


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.

Windows SDK%ProgramFiles%\Microsoft SDKs\Windows\[version number]\Samples\winui\magnification


Minimum Requirements

Operating SystemWindows Vista and later
Microsoft Visual Studio2005 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.

Related topics




Send comments about this topic to Microsoft

Build date: 9/7/2011