CustDTv sample illustrates custom draw in a Tree-View control (248496)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows XP
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows NT 4.0
- the operating system: Microsoft Windows Millennium Edition
- the operating system: Microsoft Windows 98
This article was previously published under Q248496 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.
Modification Type: | Major | Last Reviewed: | 5/19/2005 |
---|
Keywords: | kbfile kbhowto kbSample kbTreeView KB248496 kbAudDeveloper |
---|
|