27 lines
866 B
Plaintext
27 lines
866 B
Plaintext
Simple Hello World Sample
|
|
|
|
Demonstrates
|
|
===============================
|
|
Shows how to use DirectWrite to render simple text.
|
|
|
|
Sample Language Implementations
|
|
===============================
|
|
This sample is available in the following language implementations:
|
|
C++
|
|
|
|
Files
|
|
===============================
|
|
* SimpleHelloWorld.h: Contains declarations and includes.
|
|
* SimpleHelloWorld.rc: Resource file.
|
|
* DemoApp.cpp: Defines the DemoApp class demonstrating how to draw simple text.
|
|
* DemoApp.h: Header file for the DemoApp class.
|
|
* winmain.cpp: Application entry point and message loop.
|
|
* DeclareDPIAware.manifest: Declares that the application will work on high DPI display modes.
|
|
|
|
|
|
Prerequisites
|
|
===============================
|
|
Microsoft Windows® 7
|
|
Windows® Software Development Kit (SDK) for Windows 7 and .NET Framework 3.5 Service Pack 1: Beta release
|
|
|