phonexyy
August 18th, 2004, 03:26 AM
Recently, I met a question about owner draw TreeView contronl. From the internet I find many resources about owner draw form or button control and the resources help me indeed,yet I still can't find any of them related to teeview control. First puzzle, what time will Onpaint() method be loaded? Second, What's the relationship between OnPaint() method and Paint Event? From books I find there are 2 way to draw owner button. One is overriding OnPanit() method and the other is writing funtion for Panit Event, What's the difference? In the end , I really thanks any "verteran" could give me some suggestions and ideas about this problem.