----- Original Message ----- From: Fahri Reza ----- Original Message ----- From: neomavez
> [. > > I want a descendant of TTreeView that have a button within itself (in > > its display area). > .] > TTreeView usually subclassed to add something to its TreeNode. > If you put a button in the client area, wouldn't that overwrite > TTreeView's drawings? > Is it possible to make the TTreeView think that its client area is a few > pixels lower, so that your button will not be disturbed? I just thought that I might spawn a new trick, I tried overriding GetClientRect and GetClientOrigin from TWinControl, and change the Result property, buuuut it didn't work. hehe.. ____________ FIreHAzaR:-D West Java, Indonesia