Using Fonts in ATL Controls with NiceText.exe (166472)
The information in this article applies to:
- The Microsoft Active Template Library (ATL) 3.0
- The Microsoft Active Template Library (ATL) 2.0
- The Microsoft Active Template Library (ATL) 2.1
This article was previously published under Q166472 SUMMARY Active Template Library (ATL) programmers creating ActiveX
controls that display text may find it beneficial to allow the user of the
control to select the font that the text is drawn in. ATL provides some
functionality for a stock font property, or you may choose to use a custom font
property. In ATL ActiveX controls, the steps to implement a custom or stock
font property are practically the same. The More Information section of this
article describes the steps to take to add a stock font property to your ATL
ActiveX control. The NiceText sample shows how to implement an ATL control that
uses a stock font property. NiceText.exe is a self-extracting
executable file that contains the source files for the NiceText control.
The following
files are available for download from the Microsoft Download
Center: NiceText.exe For additional information about how
to download Microsoft Support files, click the following article number to view
the article in the Microsoft Knowledge Base: 119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
Modification Type: | Minor | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kbdownload kbCtrl kbfile kbFont kbinfo kbprogramming kbsample kbusage KB166472 |
---|
|