Subj : properly tabcontrol items To : borland.public.cpp.borlandcpp From : "Kristo" Date : Sun Jul 20 2003 06:07 am Hi, I created wrapper classes for the treeview and tab control common controls. Adding the former to the latter, however results in the following effect: when the treeview is expanded, parts of it aren't redrawn (instead the tab control draws over it). Selecting items randomly causes them to be redrawn properly, though, but not always. Setting the treeview to be the topmost window doesn't make any difference. Responding to WM_PAINT from the treeview control and calling InvalidateRect() causes the entire client area of the treeview to be painted, but tree items aren't redrawn. What message should I intercept/what property should I set to force the treeview to draw properly on top of the tab control at all times? Cheers, Kristo .