Subj : Re: Applying other effects on treeview items in BC5.02 To : borland.public.cpp.borlandcpp From : "Kristo" Date : Fri Jul 18 2003 08:48 pm Works. Thanks! "Jogy" wrote in message news:3f17ddac$1@newsgroups.borland.com... > Kristo wrote: > > Hi, > > > > Making treeview items bold is made easy using the TVIS_BOLD state flag. How > > can I give certain items a different color/make them italic, apply a > > different font to them - will this require an entire new implementation of > > the treeview control with client-side handling of drawback of individual > > items? The items do not have a standard HWND handle attached to them so > > sending a WM_SETFONT or some similar messages doesn't seem possible. Then > > again, all treeview items can be made editable which suggests the items are > > individual editbox controls with individual window handles bound to them. In > > that case, how can I access these handles? > > > > I'm using pure WinAPI. > > > > Cheers, > > Kristo > > > > > > Hello, > > You can try to process the NM_CUSTOMDRAW notification to change the font > and color of individual tree view items. > > > > -- > Jogy > http://www.jogy.net/ > jogy@sirma.bg > .