Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Hit Testing Example

Demonstrates hit testing with a text layout object. The following screen shot shows an example of a text layout object that is used for hit testing. For more information, see How to Perform Hit Testing on a Text Layout topic.

This topic has the following parts:

Screen shot of "Click on this text"

The Hit Testing Example consists of the following files.

File
DemoApp.h
HitTest.h
DemoApp.cpp
winmain.cpp
HitTest.sln
HitTest.vcproj
readme.txt

 

Requirements

Minimum supported clientWindows 7 or Windows Vista with Service Pack 2 (SP2) and Platform Update for Windows Vista
Minimum supported serverWindows Server 2008 R2 or Windows Server 2008 with Service Pack 2 (SP2) and Platform Update for Windows Server 2008
Windows SDKWindows Software Development Kit (SDK) for Windows 7

 

Downloading the Sample

This sample is available in the following location.

LocationPath/URL
Code GalleryDownload from MSDN Code Gallery

 

 

 

Community Additions

ADD
Show:
© 2015 Microsoft