CustDTv sample illustrates custom draw in a Tree-View control

Article translations Article translations
Article ID: 248496 - View products that this article applies to.
This article was previously published under Q248496
Expand all | Collapse all

SUMMARY

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.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
Collapse this imageExpand this image
Download
Download the CustDTv.exe package now. For more 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 prevent any unauthorized changes to the file.

Properties

Article ID: 248496 - Last Review: November 21, 2006 - Revision: 5.1
APPLIES TO
  • Microsoft Win32 Application Programming Interface
  • Microsoft Win32 Application Programming Interface, when used with:
    • Microsoft Windows 2000 Standard Edition
    • Microsoft Windows NT 4.0
    • Microsoft Windows Millennium Edition
    • Microsoft Windows 98 Standard Edition
    • Microsoft Windows 95
Keywords: 
kbhowto kbtreeview kbfile kbsample KB248496

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com