Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
CustDTv sample illustrates custom draw in a Tree-View control
Article ID: 248496 - View products that this article applies to.
This article was previously published under Q248496
Version 4.70 of Comctl32.dll introduced the concept of custom draw, which allows an application greater flexibility in customizing a control's appearance without having to implement full owner-draw. Windows Common Controls such as List-View, Tree-View, Tab, and ToolTip support custom draw.
CustDTv.exe is a sample that demonstrates using custom draw in a Tree-View control to specify the text color for each item, specify a font for each item, and display text adjacent to the item text.
The following file is available for download from the Microsoft Download Center:
Download the CustDTv.exe package now.
Collapse this imageExpand this image
(http://download.microsoft.com/download/platformsdk/samplea/2000/win98/en-us/custdtv.exe)For more information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591Microsoft 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 prevent any unauthorized changes to the file.
(http://support.microsoft.com/kb/119591/ )How to obtain Microsoft support files from online services
Article ID: 248496 - Last Review: November 21, 2006 - Revision: 5.1